/* ======================================
   FORMULARZ REZERWACJI
====================================== */

.srs-form-wrap {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border: 1px solid #eadfd6;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.srs-form-header {
    margin-bottom: 30px;
    text-align: left;
}

.srs-form-header h2 {
    margin: 0 0 10px;
    font-size: 38px;
    line-height: 1.1;
    color: #3d2518;
}

.srs-form-header p {
    margin: 0;
    font-size: 16px;
    color: #6c5a4f;
}

.srs-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.srs-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.srs-field-full {
    grid-column: 1 / -1;
}

.srs-field label {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #4a2d1f;
}

.srs-form input,
.srs-form textarea,
.srs-form select,
.srs-admin-search input[type="text"],
.srs-admin-sort select,
.srs-admin-filters-panel select,
.srs-admin-filters-panel input[type="date"],
.srs-field input,
.srs-field textarea,
.srs-field select,
.srs-reject-select,
.srs-reject-other {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #decfc3;
    border-radius: 14px;
    background: #fff;
    font-size: 16px;
    color: #2f241e;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.srs-form input:focus,
.srs-form textarea:focus,
.srs-form select:focus,
.srs-admin-search input[type="text"]:focus,
.srs-admin-sort select:focus,
.srs-admin-filters-panel select:focus,
.srs-admin-filters-panel input[type="date"]:focus,
.srs-field input:focus,
.srs-field textarea:focus,
.srs-field select:focus,
.srs-reject-select:focus,
.srs-reject-other:focus {
    outline: none;
    border-color: #8b4a1f;
    box-shadow: 0 0 0 4px rgba(139, 74, 31, 0.12);
    background: #fff;
}

.srs-form textarea {
    resize: vertical;
    min-height: 130px;
}

.srs-form-actions {
    margin-top: 28px;
}

/* ======================================
   MOJA REZERWACJA
====================================== */

.srs-view-wrap {
    max-width: 900px;
}

.srs-view-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.srs-view-item {
    padding: 18px;
    border: 1px solid #e5dbd0;
    border-radius: 16px;
    background: #fcfaf8;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.srs-view-item span {
    font-size: 14px;
    color: #7a685d;
}

.srs-view-item strong {
    font-size: 18px;
    color: #2f241e;
    font-weight: 700;
}

.srs-view-item-full {
    grid-column: 1 / -1;
}

.srs-cancel-form {
    margin-top: 24px;
}

/* ======================================
   PRZYCISKI
====================================== */

.srs-btn,
.srs-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* min-height: 42px; */
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.srs-btn {
    min-width: 240px;
    border: none;
    background: #8b4a1f;
    color: #fff;
    box-shadow: 0 10px 22px rgba(139, 74, 31, 0.2);
}

.srs-btn:hover {
    background: #6f3a18;
    transform: translateY(-1px);
}

.srs-btn:active {
    transform: translateY(0);
}

.srs-btn-danger {
    background: #8b1e1e;
    color: #fff;
    box-shadow: 0 10px 22px rgba(139, 30, 30, 0.18);
}

.srs-btn-danger:hover {
    background: #6e1717;
}

.srs-btn-warning {
    background: #b06a00;
    color: #fff;
    box-shadow: 0 10px 22px rgba(176, 106, 0, 0.18);
}

.srs-btn-warning:hover {
    background: #8e5500;
}

.srs-filter-btn {
    background: #f3ebe4;
    color: #4a2d1f;
    border: 1px solid #e0d2c4;
}

.srs-filter-btn:hover {
    background: #eadccf;
    color: #2f241e;
}

/* ======================================
   STATUSY
====================================== */

.srs-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.srs-status-new {
    background: #fff4d9;
    color: #8a6500;
}

.srs-status-confirmed {
    background: #e8f7ec;
    color: #1f6b36;
}

.srs-status-rejected,
.srs-status-cancelled {
    background: #fff1f1;
    color: #8b1e1e;
}

.srs-status-cancelled_client {
    background: #fff4e8;
    color: #9a4d00;
}

.srs-status-completed {
    background: #eaf0ff;
    color: #2747a3;
}

.srs-status-no_show {
    background: #f1f1f1;
    color: #555;
}

/* ======================================
   ADMIN PANEL
====================================== */

.srs-admin-page {
    width: 100%;
    max-width: 100%;
    padding: 24px;
    box-sizing: border-box;
    background: #fffbf6;
}

.srs-admin-page .container,
.srs-admin-page .cont-front,
.srs-admin-page .width-cont,
.srs-admin-page .all-page-content {
    width: 100% !important;
    max-width: 100% !important;
}

.srs-admin-wrap {
    max-width: 1100px;
    margin: 40px auto;
}

.srs-admin-app {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.srs-admin-sidebar {
    position: sticky;
    min-height: calc(100vh - 48px);
    background: #3d2518;
    color: #fff;
    border-radius: 28px;
    padding: 28px 20px;
    box-sizing: border-box;
    box-shadow: 0 18px 35px rgba(61, 37, 24, 0.18);
}

.srs-admin-brand {
    margin-bottom: 24px;
}

.srs-admin-brand-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.srs-admin-brand-sub {
    margin-top: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.srs-admin-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: #8b4a1f;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 12px 24px rgba(139, 74, 31, 0.22);
    transition: all 0.2s ease;
}

.srs-admin-add-btn:hover {
    background: #6f3a18;
    transform: translateY(-1px);
}

.srs-admin-menu {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
}

.srs-admin-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.srs-admin-menu-item:hover {
    background: rgba(255, 255, 255, 0.10);
}

.srs-admin-menu-item span {
    font-weight: 700;
    font-size: 18px;
}

.srs-admin-menu-item strong {
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
}

.srs-admin-menu-item.is-active {
    background: #6f3a18;
    box-shadow: inset 0 0 0 2px #c5864c;
}

.srs-admin-main {
    min-width: 0;
    width: 100%;
}

.srs-admin-top,
.srs-admin-toolbar,
.srs-admin-toolbar-wrap {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.srs-admin-top h2 {
    margin: 0;
    font-size: 40px;
    line-height: 1.1;
    color: #3d2518;
}

.srs-admin-search {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 280px;
    align-items: center;
}

.srs-admin-search input[type="text"] {
    flex: 1;
    min-width: 220px;
}

.srs-admin-sort {
    display: flex;
    gap: 10px;
    align-items: center;
}

.srs-admin-sort select {
    min-width: 190px;
}

.srs-admin-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.srs-admin-filters-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: end;
    background: #fff;
    border: 1px solid #eadfd6;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 18px;
}

.srs-filter-group {
    display: grid;
    gap: 6px;
    min-width: 210px;
}

.srs-filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #7a6658;
}

.srs-filter-group-dates {
    display: flex;
    gap: 10px;
    min-width: 340px;
}

.srs-filter-group-dates>div {
    flex: 1;
    display: grid;
    gap: 6px;
}

.srs-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.srs-admin-add-panel,
.srs-admin-card {
    background: #fff;
    border: 1px solid #e7dfd7;
    border-radius: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.srs-admin-add-panel {
    padding: 26px;
    margin-bottom: 24px;
}

.srs-admin-panel-head {
    margin-bottom: 20px;
}

.srs-admin-panel-head h3 {
    margin: 0 0 8px;
    font-size: 28px;
    color: #2f241e;
}

.srs-admin-panel-head p {
    margin: 0;
    color: #6c5a4f;
    line-height: 1.6;
}

.srs-admin-list {
    display: grid;
    gap: 22px;
}

.srs-admin-card {
    padding: 30px 32px;
}

.srs-admin-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.srs-admin-card-head h3 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #2f241e;
}

.srs-admin-card-head p {
    margin: 0;
    color: #6c5a4f;
    font-size: 15px;
}

.srs-admin-card-body {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.srs-admin-card-body p {
    margin: 0;
    color: #3f3129;
    font-size: 15px;
    line-height: 1.6;
}

.srs-admin-card-body strong {
    color: #2f241e;
}

.srs-admin-card-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
    align-items: center;
}

.srs-admin-card-actions form {
    margin: 0;
}

.srs-admin-info {
    color: #7a685d;
    font-weight: 600;
    font-size: 14px;
}

.srs-admin-edit-form {
    margin-top: 10px;
}

.srs-admin-edit-form textarea[disabled] {
    background: #f3f3f3;
    color: #666;
    cursor: not-allowed;
}

/* ======================================
   ODRZUCENIE REZERWACJI
====================================== */

.srs-reject-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.srs-reject-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid #eadccf;
    border-radius: 16px;
    background: #fcfaf8;
    min-width: 300px;
    margin-top: 10px;
}

.srs-reject-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ======================================
   KALENDARZ ADMINA
====================================== */

.srs-admin-calendar {
    background: #faf7f3;
    border: 1px solid #eadfd5;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}

.srs-admin-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: #5b3d2a;
}

.srs-calendar-nav {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e0d2c6;
    color: #5b3d2a;
    font-size: 18px;
    text-decoration: none;
}

.srs-admin-calendar-weekdays,
.srs-admin-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.srs-admin-calendar-weekdays {
    margin-bottom: 8px;
}

.srs-admin-calendar-weekdays span {
    text-align: center;
    font-size: 12px;
    color: #8a7365;
    font-weight: 600;
}

.srs-calendar-empty {
    min-height: 42px;
}

.srs-calendar-day {
    min-height: 48px;
    background: #fff;
    border: 1px solid #e7dbd1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #5b3d2a;
    font-weight: 600;
    text-decoration: none;
}

.srs-calendar-day.is-selected {
    background: #6f472d;
    color: #fff;
    border-color: #6f472d;
}

.srs-calendar-day-number {
    line-height: 1;
    font-size: 14px;
}

.srs-calendar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b86d3c;
    margin-top: 6px;
}

.srs-calendar-day.is-selected .srs-calendar-dot {
    background: #fff;
}

.srs-admin-calendar-actions {
    margin-top: 14px;
}

/* ======================================
   STATYSTYKI ADMINA
====================================== */

.srs-admin-stats h4 {
    margin: 0 0 12px;
    color: #fff;
}

.srs-admin-stats-list {
    display: grid;
    gap: 10px;
}

.srs-stat-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    color: #fff;
}

/* ======================================
   KOMUNIKATY
====================================== */

.srs-message {
    margin-bottom: 16px;
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 600;
}

.srs-message-success {
    background: #e2f3e6;
    color: #2f6a3f;
}

.srs-message-error {
    background: #fde6e3;
    color: #9a3f35;
}

/* ======================================
   CAPTCHA
====================================== */

.h-captcha {
    margin-top: 8px;
}

.srs-form .h-captcha iframe {
    max-width: 100%;
}

/* ======================================
   RESPONSIVE
====================================== */

@media (max-width: 1100px) {
    .srs-admin-app {
        grid-template-columns: 1fr;
    }

    .srs-admin-sidebar {
        position: static;
        min-height: auto;
    }
}


@media (max-width: 420px) {
.srs-view-item { 
    padding: 8px;
}
.srs-view-item strong {
    font-size: 12px;
}
}


@media (max-width: 768px) {
    .srs-form-wrap {
        padding: 24px;
        margin: 20px;
        border-radius: 18px;
    }

    .srs-form-header h2 {
        font-size: 28px;
    }

    .srs-form-grid,
    .srs-view-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .srs-field-full,
    .srs-view-item-full {
        grid-column: auto;
    }

    .srs-btn {
        width: 100%;
        min-width: 0;
    }

    .srs-admin-wrap {
        margin: 20px auto;
    }

    .srs-admin-top h2 {
        font-size: 30px;
    }

    .srs-admin-card {
        padding: 22px 20px;
        border-radius: 22px;
    }

    .srs-admin-card-head {
        flex-direction: column;
    }

    .srs-admin-card-head h3 {
        font-size: 24px;
    }

    .srs-admin-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    /* .srs-admin-card-actions form,
    .srs-admin-card-actions a,
    .srs-admin-card-actions button {
        width: 100%;
    } */

    .srs-reject-form {
        min-width: 100%;
    }

    iframe {
        width: 200px !important;
    }
}

@media (max-width: 700px) {
    .srs-filter-group-dates {
        min-width: 100%;
        flex-direction: column;
    }
}


.srs-preorder-wrap {
    margin-top: 30px;
    border: 1px solid #e7dfd7;
    border-radius: 22px;
    padding: 24px;
    background: #fcfaf8;
}

.srs-preorder-head h3 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #3d2518;
}

.srs-preorder-head p {
    margin: 0;
    color: #6c5a4f;
    line-height: 1.6;
}

.srs-preorder-badge {
    display: inline-flex;
    margin-top: 14px;
    margin-bottom: 22px;
    padding: 10px 14px;
    background: #fff3e8;
    color: #8b4a1f;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}

.srs-preorder-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
    gap: 20px;
}

.srs-preorder-step-box,
.srs-preorder-summary-box {
    background: #fff;
    border: 1px solid #e7dfd7;
    border-radius: 18px;
    padding: 20px;
}

.srs-preorder-step-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.srs-preorder-step-label {
    font-size: 22px;
    font-weight: 800;
    color: #2f241e;
}

.srs-preorder-step-price {
    font-size: 18px;
    font-weight: 700;
    color: #8b4a1f;
}

.srs-preorder-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.srs-preorder-category-btn {
    border: 1px solid #dfd1c5;
    background: #f7efe8;
    color: #5a3a26;
    border-radius: 999px;
    padding: 9px 14px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

.srs-preorder-category-btn.is-active {
    background: #8b4a1f;
    color: #fff;
    border-color: #8b4a1f;
}

.srs-preorder-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.srs-preorder-card {
    position: relative;
    border: 1px solid #e7dfd7;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    transition: all 0.2s ease;
}

.srs-preorder-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(61, 37, 24, 0.08);
}

.srs-preorder-card.is-checked {
    border-color: #8b4a1f;
    box-shadow: 0 0 0 2px rgba(139, 74, 31, 0.12);
}

.srs-preorder-card-label {
    display: block;
    cursor: pointer;
    height: 100%;
}

.srs-preorder-checkbox {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 18px;
    height: 18px;
    z-index: 2;
}

.srs-preorder-card-image {
    width: 100%;
    height: 180px;
    background: #f5eee8;
    overflow: hidden;
}

.srs-preorder-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.srs-preorder-card-noimage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8d7768;
    font-weight: 600;
    font-size: 14px;
}

.srs-preorder-card-body {
    padding: 16px;
}

.srs-preorder-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.srs-preorder-card-head strong {
    color: #2f241e;
    font-size: 18px;
    line-height: 1.3;
}

.srs-preorder-card-price {
    color: #8b4a1f;
    font-weight: 800;
    white-space: nowrap;
}

.srs-preorder-card-desc {
    font-size: 14px;
    color: #6c5a4f;
    line-height: 1.5;
    margin-bottom: 10px;
}

.srs-preorder-card-meta {
    display: inline-flex;
    padding: 6px 10px;
    background: #f7efe8;
    border-radius: 999px;
    color: #6a4a35;
    font-size: 13px;
    font-weight: 700;
}

.srs-preorder-card-category {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 9px;
    background: #f2f0ed;
    color: #6d5b50;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.srs-preorder-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.srs-preorder-person-list {
    display: grid;
    gap: 10px;
}

.srs-preorder-person-card {
    border: 1px solid #eadfd6;
    background: #fcfaf8;
    border-radius: 14px;
    padding: 14px;
}

.srs-preorder-person-card.is-complete {
    border-color: #d6e8da;
    background: #f5fbf7;
}

.srs-preorder-person-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
}

.srs-preorder-person-top strong {
    color: #2f241e;
}

.srs-preorder-person-top span {
    color: #8b4a1f;
    font-weight: 700;
}

.srs-preorder-person-desc {
    color: #6c5a4f;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    white-space: pre-line;
}

.srs-preorder-edit-btn {
    background: #f3ebe4;
    color: #4a2d1f;
    border: 1px solid #e0d2c4;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 700;
}

.srs-preorder-total {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eadfd6;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.srs-preorder-total span {
    color: #6c5a4f;
}

.srs-preorder-total strong {
    color: #2f241e;
    font-size: 24px;
}

.srs-btn[disabled],
.srs-filter-btn[disabled],
.srs-preorder-edit-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.srs-preorder-edit-btn[disabled] {
    background: #eee7e1;
    color: #9b8b80;
    border-color: #e1d7cf;
}

@media (max-width: 900px) {
    .srs-preorder-layout {
        grid-template-columns: 1fr;
    }

    .srs-preorder-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .srs-preorder-step-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .srs-preorder-actions {
        flex-direction: column;
    }

    .srs-preorder-actions .srs-btn,
    .srs-preorder-actions .srs-filter-btn {
        width: 100%;
    }
}
.srs-admin-menu-toggle-wrap {
    margin-top: 14px;
}

.srs-ordered-menu-box {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid #eadfd6;
    border-radius: 14px;
    background: #fcfaf8;
}

.srs-ordered-menu-box p {
    margin: 0 0 10px;
    color: #2f241e;
}

.srs-ordered-menu-content {
    white-space: pre-line;
    color: #5b4031;
    line-height: 1.6;
}