:root {
    --bg-card: #1a1b20;
    --bg-hover: #23252b;
    --border-color: #2a2b30;
    --text-main: #f3f4f6;
}

body {
    background-color: var(--color-dark);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.booking-page {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.booking-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #a5b4fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.booking-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.booking-container {
    min-width: 800px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-nav h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.icon-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.icon-btn:hover {
    background: var(--hover);
    color: var(--color-primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.weekday {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.days-container {
    display: contents;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    background: transparent;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.day:hover:not(.disabled) {
    background: var(--hover);
    border-color: var(--border-color);
}

.day.selected {
    background: var(--color-primary);
    color: #fff;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(25, 203, 178, 0.3);
}

.day.disabled {
    color: #4a4b50;
    cursor: not-allowed;
    text-decoration: line-through;
}

.__position-1{
    grid-column: 1;
}
.__position-2{
    grid-column: 2;
}
.__position-3{
    grid-column: 3;
}
.__position-4{
    grid-column: 4;
}
.__position-5{
    grid-column: 5;
}
.__position-6{
    grid-column: 6;
}
.__position-7{
    grid-column: 7;
}

.details-section {
    padding-left: 30px;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.details-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.time-selector{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.time-pill {
    background: var(--hover);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.time-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.time-pill.selected {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.b-form .c-field {
    margin-bottom: 16px;
}

.b-form .c-input {
    width: 100%;
    background: var(--color-dark);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.b-form .c-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.mt-4 { margin-top: 24px; }
.w-100 { width: 100%; }

.form-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.empty-state {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
}

.empty-state svg {
    margin-bottom: 15px;
    opacity: 0.5;
}

.d-none { display: none !important; }

.price-calculator {
    background: var(--color-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.price-row small {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: block;
    text-align: right;
}

.price-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.total-sum {
    color: var(--color-primary);
}

.radio-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.radio-options {
    display: flex;
    gap: 10px;
}

.radio-btn input {
    display: none;
}

.radio-btn span {
    display: inline-block;
    padding: 10px 20px;
    background: var(--hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 500;
}

.radio-btn input:checked + span {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.confirmate-section{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.digits-cells {
    display: grid;
    grid-template-columns: repeat(6, 48px);
    grid-auto-rows: 64px;
    gap: 10px;
    margin-top: 2rem;
}

.code-digit {
    text-align: center;
    font-size: large;
    font-weight: 600;
    color: white;
    background: var(--color-dark);
    border-radius: 12px;
    border: none;
}

@media (max-width: 768px) {
    .booking-container {
        grid-template-columns: 1fr;
        padding: 5px;
        min-width: 0;
    }
    
    .details-section {
        padding-left: 0;
        padding-top: 30px;
        margin: 10px;
    }
    
    .time-slots {
        grid-template-columns: repeat(4, 1fr);
    }

    .booking-page {
        margin: 20px 0px;
        padding: 0 10px;
    }
}

@media (max-width: 375px) {

    .booking-page {
        margin: 20px 0px;
        padding: 0 5px;
    }

    .price-row{
        font-size: var(--font-size-sm);
    }

    .radio-btn span {
        padding: 10px 12px;
    }

    .custom-checkbox{
        font-size: var(--font-size-sm);
    }
}