﻿:root {
    --accent: #9A1C7D;
    --accent-2: #C73FBC;
    --muted: #6B7280;
    --card-shadow: 0 10px 30px rgba(16,24,40,0.06);
    --glass: rgba(255,255,255,0.6);
    
}

body {
    font-family: "IranSans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: #e9edf7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    direction: rtl;
    line-height: 1.6;
}

.card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
}

.card-sm {
    border-radius: 0.75rem;
    box-shadow: 0 6px 20px rgba(16,24,40,0.04);
}

.accent-btn {
    background: linear-gradient(90deg,var(--accent) 0%, var(--accent-2) 100%);
}

.accent-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
}
.gallery-grid img {
    transition: transform .35s ease, box-shadow .35s ease;
}

    .gallery-grid img:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 12px 30px rgba(16,24,40,0.12);
    }

.teacher-card {
    transition: transform .22s ease, box-shadow .22s ease;
}

    .teacher-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(16,24,40,0.06);
    }

.svc-details {
    min-width: 260px;
    max-width: 320px;
}

.grid-cell {
    cursor: pointer;
    user-select: none;
    transition: background-color .18s, color .18s, transform .12s;
    padding: .5rem .375rem;
    border: 1px solid #e6e9ef;
    text-align: center;
    font-weight: 600;
    font-size: .8rem;
    border-radius: .5rem;
    background: #fbfdff;
}

    .grid-cell:hover {
        transform: translateY(-3px);
        background: linear-gradient(180deg,#e9d7ff,#cdb8ff);
        color: #111827;
    }

    .grid-cell.selected {
        background: linear-gradient(180deg,#7c3aed,#5b21b6);
        color: #fff;
    }

    .grid-cell.range {
        background: linear-gradient(180deg,#e9e6ff,#d4c9ff);
        color: #111827;
    }

.modal-backdrop {
    background: rgba(2,6,23,0.45);
}

.modal-panel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(2,6,23,0.32);
}

@media (max-width: 1024px) {
    .gallery-grid .col-span-4 {
        grid-column: span 6 / span 6;
    }

    .gallery-grid .col-span-2 {
        grid-column: span 3 / span 3;
    }
}

button:focus, a:focus {
    outline: 3px solid rgba(154,37,143,0.14);
    outline-offset: 2px;
}


@media (max-width:768px){
    .reserved-date-time-container {
        display: flex !important;
        flex-direction: column !important;
    }

    .reserved-date-time-mobile-width {
        width: 100% !important;
    }

    .reserved-date-time-mobile {
/*        display: flex !important;*/
/*        flex-direction: row !important;*/
/*        align-items: center !important;*/
        justify-content: center !important;
    }

}