﻿@font-face {
    font-family: 'BTitr';
    src: url('../fonts/BTitr.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}


/* =========================
   RESET
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* =========================
   BODY
========================= */

body {
    font-family: 'BTitr', Tahoma, Arial, sans-serif;
    background: #000080;
    color: #111111;

    position: relative;
    min-height: 100vh;
}

/* =========================
   MEHR ART WALLPAPER
========================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image: url("/static/images/mehrart-wallpaper.png");
    background-repeat: repeat;
    background-size: 700px auto;
    background-position: center top;

    opacity: 0.22;

    pointer-events: none;
    z-index: 0;
}

/* محتوای سایت بالای Wallpaper */
header,
main,
section,
footer {
    position: relative;
    z-index: 1;
}
/* =========================
   NAVBAR
========================= */

.navbar {
    height: 75px;
    background: #000080;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;
}

.brand {
    text-align: center;
}

.logo {
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 4px;
}

.brand-subtitle {
    font-family: Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 4px;
    opacity: 0.85;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: calc(100vh - 115px);

    background: transparent;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 25px;
}

.hero-content {
    width: 100%;
    max-width: 600px;
}


/* =========================
   SMALL TITLE
========================= */

.small-title {
    font-family: Arial, sans-serif;

    font-size: 12px;
    letter-spacing: 5px;

    margin-bottom: 20px;

    opacity: 0.8;
}


/* =========================
   MAIN TITLE
========================= */

.hero h1 {
    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 48px;
    line-height: 1.6;

    margin-bottom: 18px;
}

.hero h1 span {
    display: block;
}


/* =========================
   DESCRIPTION
========================= */

.hero p {
    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 17px;

    margin-bottom: 30px;

    opacity: 0.9;
}


/* =========================
   BOOKING BUTTON
========================= */

.booking-button {
    display: inline-block;

    background: white;
    color: #000080;

    padding: 15px 50px;

    border-radius: 10px;

    text-decoration: none;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 17px;
    font-weight: bold;

    transition: 0.2s;
}

.booking-button:hover {
    transform: translateY(-2px);
}


/* =========================
   FOOTER
========================= */

footer {
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 11px;

    color: #777;
}


/* =========================
   PROFILE IMAGE
========================= */

.profile-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 18px;
}

.profile-image {
    width: 82px;
    height: 82px;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid white;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);

    display: block;
}


/* =====================================================
   MEHR ART - BOOKING PAGE
===================================================== */

.booking-page {
    min-height: calc(100vh - 150px);

    background: #f4f6fa;

    padding: 45px 20px 60px;

    direction: rtl;
}


.booking-card {
    width: min(900px, 100%);

    margin: 0 auto;

    background: #ffffff;

    border-radius: 24px;

    padding: 35px;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);

    text-align: center;
}


/* =========================
   BOOKING TITLE
========================= */

.booking-card h1 {
    margin: 0 0 10px;

    color: #000080;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 32px;
}


.booking-card .description {
    margin: 0 0 30px;

    color: #666;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 17px;
}


/* =====================================================
   CALENDAR
===================================================== */

.calendar {
    width: 100%;

    max-width: 700px;

    margin: 0 auto;
}


/* Calendar Header */

.calendar-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 22px;
}


.calendar-header h2 {
    margin: 0;

    color: #000080;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 24px;
}


.calendar-header button {
    width: 45px;

    height: 45px;

    border: none;

    border-radius: 50%;

    background: #000080;

    color: white;

    font-family: Arial, sans-serif;

    font-size: 28px;

    cursor: pointer;

    transition: 0.2s;
}


.calendar-header button:hover {
    transform: scale(1.08);

    background: #00005c;
}


/* Weekdays */

.weekdays {
    display: grid;

    grid-template-columns: repeat(7, 1fr);

    gap: 8px;

    margin-bottom: 8px;
}


.weekdays div {
    padding: 12px 5px;

    color: #000080;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-weight: bold;

    font-size: 14px;
}


/* Days */

.days {
    display: grid;

    grid-template-columns: repeat(7, 1fr);

    gap: 8px;
}


.days button {
    min-height: 52px;

    border: 1px solid #e1e4eb;

    background: #ffffff;

    border-radius: 12px;

    color: #222;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 16px;

    cursor: pointer;

    transition: 0.2s;
}


.days button:hover {
    border-color: #000080;

    color: #000080;

    transform: translateY(-2px);
}


.days button.selected {
    background: #000080;

    color: #ffffff;

    border-color: #000080;

    box-shadow: 0 5px 15px rgba(0, 0, 128, 0.25);
}


/* =====================================================
   SELECTED DATE
===================================================== */

.selected-date {
    max-width: 700px;

    margin: 25px auto 0;

    padding: 15px;

    border-radius: 12px;

    background: #eef0ff;

    color: #000080;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-weight: bold;

    font-size: 16px;
}


/* =====================================================
   TIME SECTION
===================================================== */

.time-section {
    max-width: 700px;

    margin: 40px auto 0;
}


.time-section h3 {
    margin-bottom: 22px;

    color: #000080;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 22px;
}


/* =====================================================
   TIME GRID
===================================================== */

.time-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}


/* =====================================================
   TIME BUTTON
===================================================== */

.time-grid button {
    min-height: 82px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    padding: 12px 8px;

    border: 2px solid #000080;

    border-radius: 15px;

    background: #ffffff;

    color: #000080;

    font-family: 'BTitr', Tahoma, sans-serif;

    cursor: pointer;

    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
}


/* Start Time */

.time-grid button span {
    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 19px;

    font-weight: bold;

    line-height: 1.2;
}


/* End Time */

.time-grid button small {
    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 13px;

    opacity: 0.75;
}


/* Hover */

.time-grid button:hover {
    background: #000080;

    color: #ffffff;

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(0, 0, 128, 0.20);
}


/* Selected */

.time-grid button.selected {
    background: #000080;

    color: #ffffff;

    border-color: #000080;

    box-shadow: 0 8px 20px rgba(0, 0, 128, 0.25);
}


/* =====================================================
   FOOTER
===================================================== */

.booking-page + footer {
    margin-top: 0;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .navbar {
        height: 70px;
    }

    .logo {
        font-size: 21px;
    }


    .booking-page {
        padding: 25px 12px 40px;
    }


    .booking-card {
        padding: 22px 15px;

        border-radius: 18px;
    }


    .booking-card h1 {
        font-size: 27px;
    }


    .booking-card .description {
        font-size: 15px;
    }


    /* Calendar */

    .weekdays {
        gap: 4px;
    }


    .weekdays div {
        font-size: 11px;

        padding: 8px 2px;
    }


    .days {
        gap: 5px;
    }


    .days button {
        min-height: 42px;

        border-radius: 9px;

        font-size: 14px;
    }


    /* Time */

    .time-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }


    .time-grid button {
        min-height: 72px;

        border-radius: 13px;
    }


    .time-grid button span {
        font-size: 17px;
    }


    .time-grid button small {
        font-size: 12px;
    }
}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 400px) {

    .booking-card {
        padding: 20px 12px;
    }


    .time-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 8px;
    }


    .time-grid button {
        min-height: 68px;
    }


    .time-grid button span {
        font-size: 16px;
    }


    .time-grid button small {
        font-size: 11px;
    }
}
/* =====================================================
   CUSTOMER FORM
===================================================== */

.customer-form {
    max-width: 600px;

    margin: 35px auto 0;

    text-align: right;
}


.form-divider {
    width: 100%;

    height: 1px;

    background: #e5e5e5;

    margin-bottom: 30px;
}


.customer-form h3 {
    text-align: center;

    color: #000080;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 23px;

    margin-bottom: 8px;
}


.form-description {
    text-align: center;

    color: #777;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 14px;

    margin-bottom: 25px;
}


/* =====================================================
   FORM GROUP
===================================================== */

.form-group {
    margin-bottom: 18px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #333;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 15px;
}


.form-group input {
    width: 100%;

    height: 52px;

    padding: 0 15px;

    border: 1px solid #dfe2e8;

    border-radius: 12px;

    background: #ffffff;

    color: #222;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 15px;

    outline: none;

    transition: 0.2s;
}


.form-group input:focus {
    border-color: #000080;

    box-shadow:
        0 0 0 3px rgba(0, 0, 128, 0.08);
}


.form-group input::placeholder {
    color: #aaa;
}


/* =====================================================
   BIRTH DATE
===================================================== */

.birthdate-group {
    margin-bottom: 20px;
}


.birthdate-group > label {
    display: block;

    margin-bottom: 8px;

    color: #333;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 15px;
}


.birthdate-fields {
    display: grid;

    grid-template-columns:
        1fr 1.5fr 1.2fr;

    gap: 10px;
}


.birthdate-fields select {
    width: 100%;

    height: 52px;

    padding: 0 12px;

    border: 1px solid #dfe2e8;

    border-radius: 12px;

    background: #ffffff;

    color: #333;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 14px;

    cursor: pointer;

    outline: none;

    transition: 0.2s;
}


.birthdate-fields select:focus {
    border-color: #000080;

    box-shadow:
        0 0 0 3px rgba(0, 0, 128, 0.08);
}


/* =====================================================
   CONTINUE BUTTON
===================================================== */

.continue-button {
    width: 100%;

    height: 52px;

    margin-top: 8px;

    border: none;

    border-radius: 12px;

    background: #000080;

    color: #ffffff;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 16px;

    cursor: pointer;

    transition: 0.2s;
}


.continue-button:hover {
    background: #00005c;

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(0, 0, 128, 0.20);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .customer-form {
        margin-top: 30px;
    }


    .customer-form h3 {
        font-size: 21px;
    }


    .form-group input {
        height: 50px;
    }


    .birthdate-fields {
        grid-template-columns:
            1fr 1.4fr 1.2fr;

        gap: 7px;
    }


    .birthdate-fields select {
        height: 50px;

        font-size: 13px;

        padding: 0 7px;
    }


    .continue-button {
        height: 50px;
    }

}
/* =========================================
   BARBER SELECTION
========================================= */

.barber-section {
    max-width: 700px;
    margin: 35px auto 0;
}

.barber-section h3 {
    margin-bottom: 8px;
    color: #000080;
    font-size: 22px;
}

.section-description {
    margin-bottom: 20px;
    color: #666;
    font-size: 15px;
}

.barber-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.barber-button {
    padding: 18px 12px;
    border: 2px solid #000080;
    border-radius: 12px;
    background: #ffffff;
    color: #000080;

    font-family: 'BTitr', Tahoma, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.2s;
}

.barber-button:hover {
    background: #000080;
    color: #ffffff;
    transform: translateY(-2px);
}

.barber-button.selected {
    background: #000080;
    color: #ffffff;
    border-color: #000080;
    box-shadow: 0 5px 15px rgba(0, 0, 128, 0.25);
}

.selected-barber {
    margin-top: 15px;
    padding: 13px;
    border-radius: 12px;

    background: #eef0ff;
    color: #000080;

    font-family: 'BTitr', Tahoma, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .barber-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .barber-button {
        font-size: 17px;
        padding: 16px 10px;
    }

}
/* =========================================
   AUTH PAGES
========================================= */

.auth-card {
    max-width: 520px;
}

.auth-card form {
    margin-top: 25px;
}

.auth-card .form-group {
    text-align: right;
    margin-bottom: 18px;
}

.auth-card label {
    display: block;
    margin-bottom: 8px;

    color: #000080;

    font-family: 'BTitr', Tahoma, Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
}

.auth-card input {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid #dfe2ea;
    border-radius: 12px;

    background: #ffffff;

    color: #222;

    font-family: 'BTitr', Tahoma, Arial, sans-serif;
    font-size: 15px;

    outline: none;

    transition: 0.2s;
}

.auth-card input:focus {
    border-color: #000080;

    box-shadow:
        0 0 0 3px
        rgba(0, 0, 128, 0.08);
}

.auth-error {
    margin: 20px 0;

    padding: 13px;

    border-radius: 12px;

    background: #fff0f0;

    color: #b00020;

    font-family: 'BTitr', Tahoma, Arial, sans-serif;

    font-size: 14px;
}

.auth-link {
    margin-top: 22px;

    color: #666;

    font-size: 14px;
}

.auth-link a {
    color: #000080;

    font-weight: bold;

    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}


/* =========================================
   ACCOUNT
========================================= */

.account-card {
    max-width: 650px;
}

.account-info {
    margin-top: 25px;

    border-radius: 15px;

    background: #f7f8fc;

    padding: 5px 18px;
}

.account-info .summary-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 17px 5px;

    border-bottom: 1px solid #e5e7ed;
}

.account-info .summary-row:last-child {
    border-bottom: none;
}

.account-info span {
    color: #666;

    font-size: 14px;
}

.account-info strong {
    color: #000080;

    font-size: 16px;
}

.account-actions {
    margin-top: 25px;

    display: flex;

    flex-direction: column;

    gap: 12px;
}

.account-actions .continue-button {
    display: block;

    width: 100%;

    box-sizing: border-box;

    text-align: center;

    text-decoration: none;
}

.logout-button {
    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 13px;

    border-radius: 12px;

    border: 1px solid #ddd;

    background: #ffffff;

    color: #666;

    font-family: 'BTitr', Tahoma, Arial, sans-serif;

    font-size: 15px;

    text-decoration: none;

    text-align: center;

    transition: 0.2s;
}

.logout-button:hover {
    background: #f5f5f5;

    color: #222;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .auth-card {
        padding: 22px 16px;
    }

    .account-info .summary-row {
        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }

}
/* =====================================================
   HOME ACCOUNT BUTTONS
===================================================== */

.home-account-buttons {
    position: absolute;

    top: 50%;

    right: 24px;

    transform: translateY(-50%);

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 6px;

    direction: rtl;

    z-index: 10;
}


.home-account-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 110px;

    height: 34px;

    padding: 5px 12px;

    border: 1px solid rgba(255, 255, 255, 0.75);

    border-radius: 8px;

    background: transparent;

    color: #ffffff;

    text-decoration: none;

    font-family: 'BTitr', Tahoma, Arial, sans-serif;

    font-size: 12px;

    font-weight: bold;

    white-space: nowrap;

    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s,
        border-color 0.2s;
}


.home-account-button:hover {
    background: #ffffff;

    color: #000080;

    border-color: #ffffff;

    transform: translateY(-1px);
}


.home-register-button {
    background: rgba(255, 255, 255, 0.10);
}


/* =====================================================
   LOGIN REGISTER TEXT
===================================================== */

.auth-register-text {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    margin-top: 24px;

    padding-top: 18px;

    border-top: 1px solid #eeeeee;

    color: #666666;

    font-family: 'BTitr', Tahoma, Arial, sans-serif;

    font-size: 14px;

    line-height: 1.8;

    text-align: center;
}


.auth-register-text a {
    color: #000080;

    font-weight: bold;

    text-decoration: none;

    transition: 0.2s;
}


.auth-register-text a:hover {
    text-decoration: underline;
}


/* =====================================================
   AUTH PAGE MOBILE
===================================================== */

@media (max-width: 600px) {

    .home-account-buttons {

        right: 10px;

        gap: 5px;
    }


    .home-account-button {

        min-width: 62px;

        height: 31px;

        padding: 4px 8px;

        border-radius: 7px;

        font-size: 10px;
    }


    .auth-register-text {

        flex-direction: column;

        gap: 2px;

        margin-top: 20px;

        padding-top: 15px;

        font-size: 13px;
    }

}


/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 400px) {

    .home-account-buttons {

        right: 7px;

        gap: 4px;
    }


    .home-account-button {

        min-width: 56px;

        height: 29px;

        padding: 3px 6px;

        font-size: 9px;
    }

}
/* =====================================================
   MEHR ART - TOP ACCOUNT BUTTONS
===================================================== */

.account-buttons {

    position: absolute;

    top: 14px;

    right: 18px;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 6px;

    z-index: 9999;

}


/* =====================================================
   ACCOUNT BUTTON
===================================================== */

.account-button {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 110px;

    height: 36px;

    padding: 0 10px;

    border: 1px solid rgba(255, 255, 255, 0.85);

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;

    text-decoration: none;

    font-family: 'BTitr', Tahoma, Arial, sans-serif;

    font-size: 12px;

    font-weight: bold;

    white-space: nowrap;

    transition: all 0.2s ease;

}


/* =====================================================
   HOVER
===================================================== */

.account-button:hover {

    background: #ffffff;

    color: #000080;

    border-color: #ffffff;

    transform: translateY(-1px);

}


/* =====================================================
   LOGOUT
===================================================== */

.logout-top-button {

    width: 78px;

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .account-buttons {

        top: 10px;

        right: 10px;

        gap: 6px;

    }


    .account-button {

        width: 100px;

        height: 32px;

        padding: 0 7px;

        border-radius: 8px;

        font-size: 10px;

    }


    .logout-top-button {

        width: 100px;

    }

}
/* =====================================================
   WELCOME USER - BOOKING PAGE
===================================================== */

.welcome-user {

    width: 100%;

    max-width: 600px;

    margin: 0 auto 22px;

    padding: 14px 18px;

    background: #f1f2ff;

    border: 1px solid #e1e3ff;

    border-radius: 14px;

    text-align: center;

}


/* نام کاربر */

.welcome-title {

    color: #000080;

    font-family: 'BTitr', Tahoma, Arial, sans-serif;

    font-size: 19px;

    font-weight: bold;

    line-height: 1.8;

}


/* متن خوش آمدگویی */

.welcome-subtitle {

    margin-top: 2px;

    color: #777;

    font-family: 'BTitr', Tahoma, Arial, sans-serif;

    font-size: 12px;

    line-height: 1.8;

}


/* موبایل */

@media (max-width: 768px) {

    .payment-box,
    .receipt-section {

        padding: 18px;

    }

    .payment-box h3,
    .receipt-section h3 {

        font-size: 19px;

    }

    .payment-box p,
    .receipt-section p {

        font-size: 14px;
        line-height: 2.1;

    }

}
/* =====================================================
   SMART CALENDAR STATES
===================================================== */

.days button.past-day {
    opacity: 0.35;
    background: #eeeeee;
    color: #999999;
    border-color: #dddddd;
    cursor: not-allowed;
    transform: none;
}

.days button.past-day:hover {
    transform: none;
    border-color: #dddddd;
    color: #999999;
}


/* امروز */

.days button.today {
    border: 2px solid #000080;
    font-weight: bold;
}


/* روز کاملاً پر */

.days button.full-day {
    background: #ffe5e5;
    color: #c00000;
    border-color: #e00000;
    opacity: 0.75;
    cursor: not-allowed;
    font-weight: bold;
}

.days button.full-day:hover {
    background: #ffe5e5;
    color: #c00000;
    border-color: #e00000;
    transform: none;
}


/* ساعت پر */

.time-grid button.full-time {
    background: #eeeeee;
    color: #999999;
    border-color: #dddddd;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-grid button.full-time:hover {
    background: #eeeeee;
    color: #999999;
    border-color: #dddddd;
    transform: none;
    box-shadow: none;
}

.time-grid button.past-time {
    background: #eeeeee;
    color: #999999;
    border-color: #dddddd;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-grid button.past-time:hover {
    background: #eeeeee;
    color: #999999;
    border-color: #dddddd;
    transform: none;
    box-shadow: none;
}


/* پیام امروز */

.today-full-message {
    margin-top: 18px;
    padding: 14px 18px;

    border-radius: 12px;

    background: #fff0f0;
    color: #c00000;

    font-family: 'BTitr', Tahoma, Arial, sans-serif;

    font-size: 15px;
    font-weight: bold;

    text-align: center;

    border: 1px solid #ffd0d0;
}

/* =========================================
   PREMIUM PAYMENT STYLE
========================================= */

.payment-box,
.receipt-section {

    margin-top: 28px;

    padding: 28px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(8,15,40,.92),
            rgba(15,25,60,.85)
        );

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 15px 40px rgba(0,0,0,.25);

    color: #fff;

}


/* تیتر */

.payment-box h3,
.receipt-section h3 {

    font-size: 26px;

    margin-bottom: 20px;

    text-align: center;

    color: #fff;

}


/* متن توضیح */

.payment-box p,
.receipt-section p {

    text-align: right;

    line-height: 2.2;

    color: rgba(255,255,255,.85);

    font-size: 15px;

}


/* ردیف ها */

.payment-amount,
.card-number-box {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 14px;

    padding: 18px;

    border-radius: 16px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.10);

}


/* عنوان ها */

.payment-amount span,
.card-number-box span {

    color: rgba(255,255,255,.70);

}


/* مقادیر */

.payment-amount strong {

    color: #ffd700;

    font-size: 22px;

}


/* شماره کارت */

.card-number-box strong {

    direction: ltr;

    font-size: 20px;

    color: #ffffff;

    letter-spacing: 2px;

}


/* صاحب حساب */

.payment-owner {

    margin-top: 18px;

    padding: 16px;

    border-radius: 14px;

    background: rgba(255,255,255,.08);

    text-align: center;

    color: #fff;

}


/* موبایل */

@media (max-width: 768px) {

    .payment-box,
    .receipt-section {

        padding: 20px;

    }

    .payment-box h3,
    .receipt-section h3 {

        font-size: 22px;

    }

    .payment-amount,
    .card-number-box {

        flex-direction: column;

        gap: 10px;

    }

}

/* =========================================
   BOOKING SUMMARY PREMIUM
========================================= */

.booking-summary {

    margin-top: 25px;

    padding: 22px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(8,15,40,.92),
            rgba(15,25,60,.85)
        );

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 15px 40px rgba(0,0,0,.20);

}


.booking-summary .summary-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 16px 0;

    border-bottom:
        1px solid rgba(255,255,255,.08);

}


.booking-summary .summary-row:last-child {

    border-bottom: none;

}


.booking-summary span {

    color:
        rgba(255,255,255,.65);

    font-size: 14px;

}


.booking-summary strong {

    color: #ffffff;

    font-size: 17px;

    font-weight: bold;

}


@media (max-width: 768px) {

    .booking-summary {

        padding: 18px;

    }

    .booking-summary .summary-row {

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;

    }

    .booking-summary strong {

        font-size: 16px;

    }

}

/* =========================================
   PREMIUM BUTTON EFFECT
========================================= */

.continue-button,
.barber-button,
.time-grid button,
.auth-button {

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;

}

.continue-button:hover,
.barber-button:hover,
.time-grid button:hover,
.auth-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0,0,128,0.25);

}

.continue-button:active,
.barber-button:active,
.time-grid button:active,
.auth-button:active {

    transform: scale(0.96);

}

/* =========================================
   PREMIUM CARD EFFECT
========================================= */

.booking-card,
.payment-card,
.booking-summary,
.payment-box,
.receipt-section {

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}

.booking-card:hover,
.payment-card:hover,
.booking-summary:hover,
.payment-box:hover,
.receipt-section:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 40px rgba(0,0,0,0.12);

}

/* =========================================
   PREMIUM BUTTON EFFECT
========================================= */

.continue-button,
.home-account-button {

    position: relative;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}

.continue-button:hover,
.home-account-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0,0,128,0.25);

}

.continue-button::before,
.home-account-button::before {

    content: "";

    position: absolute;

    top: 0;

    left: -120%;

    width: 80px;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.45),
            transparent
        );

    transition: 0.6s;

}

.continue-button:hover::before,
.home-account-button:hover::before {

    left: 130%;

}

.location-button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: 100%;

    max-width: 320px;

    margin: 18px auto;

    padding: 15px;

    border-radius: 18px;

    text-decoration: none;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 16px;

    color: white;

    background: linear-gradient(
        135deg,
        #000080,
        #1d3fa8
    );

    box-shadow:
        0 10px 25px rgba(0,0,128,0.25);

    transition: all 0.25s ease;
}

.location-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 14px 35px rgba(0,0,128,0.35);

}

.location-button:active {

    transform: scale(0.98);

}

.instagram-button,
.phone-button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: 100%;

    max-width: 320px;

    margin: 12px auto;

    padding: 15px;

    border-radius: 18px;

    text-decoration: none;

    font-family: 'BTitr', Tahoma, sans-serif;

    font-size: 16px;

    color: white;

    transition: all 0.25s ease;
}



/* اینستاگرام */

.instagram-button {

    background: linear-gradient(
        135deg,
        #833AB4,
        #E1306C,
        #F77737
    );

    box-shadow:
        0 10px 25px rgba(225,48,108,0.25);
}

.instagram-button:hover {

    transform: translateY(-3px);

}

/* تماس */

.phone-button {

    background: linear-gradient(
        135deg,
        #0f9d58,
        #34a853
    );

    box-shadow:
        0 10px 25px rgba(15,157,88,0.25);
}

.phone-button:hover {

    transform: translateY(-3px);

}


.instagram-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.instagram-icon {
    width: 36px;
    height: 36px;
    vertical-align: middle;
    margin-left: -10px;
}

.important-notice{
    margin-top:20px;
    padding:18px;
    border:2px solid #ff9800;
    border-radius:14px;
    background:#fff8e8;
    text-align:right;
}

.important-notice h4{
    color:#d32f2f;
    font-size:18px;
    margin-bottom:15px;
    text-align:center;
}

.important-notice p{
    margin:12px 0;
    line-height:2;
    font-weight:600;
    color:#222;
}

.important-notice strong{
    color:#c62828;
}

.about-section{
    margin-top:40px;
    padding:30px;
    background:#ffffff;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    text-align:center;
    line-height:2;
}

.about-section h2{
    color:#000080;
    margin-bottom:20px;
    font-size:30px;
}

.about-section h2::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    background:#000080;
    margin:10px auto 0;
    border-radius:10px;
}

.about-section p{
    color:#444;
    font-size:16px;
    margin-bottom:15px;
}

/* =========================
   Mobile Admin Modal Fix
========================= */

.modal-content {
    width: 95%;
    max-width: 700px;

    max-height: 90vh;
    overflow-y: auto;

    margin: 20px auto;

    box-sizing: border-box;
}

@media (max-width: 768px) {

    .modal-content {

        width: 96%;
        max-height: 85vh;

        padding: 15px;

        border-radius: 12px;
    }

    .modal-content img {

        width: 100%;
        height: auto;

        max-height: 300px;

        object-fit: contain;
    }

    .info-box {

        width: 100%;
    }
}



/* =====================================================
   MEHR ART - BOOKING LOADING
===================================================== */

.booking-loading-overlay {

    position: fixed;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(5, 10, 25, 0.78);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    z-index: 999999;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

}


.booking-loading-overlay.active {

    opacity: 1;

    visibility: visible;

}


.booking-loading-box {

    width: min(
        390px,
        calc(100% - 40px)
    );

    padding: 38px 30px 32px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.98),
            rgba(245,247,252,0.96)
        );

    border-radius: 24px;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.30);

    transform:
        translateY(15px)
        scale(0.96);

    transition:
        transform 0.4s
        cubic-bezier(.2,.8,.2,1);

}


.booking-loading-overlay.active
.booking-loading-box {

    transform:
        translateY(0)
        scale(1);

}


/* =====================================================
   SPINNER
===================================================== */

.booking-loading-spinner {

    position: relative;

    width: 72px;

    height: 72px;

    margin:
        0 auto 24px;

}


.spinner-ring {

    position: absolute;

    inset: 0;

    border-radius: 50%;

    border:
        3px solid rgba(0,0,128,0.12);

    border-top-color:
        #000080;

    animation:
        mehrartSpin 1s linear infinite;

}


.spinner-dot {

    position: absolute;

    width: 10px;

    height: 10px;

    background:
        #000080;

    border-radius: 50%;

    top: 31px;

    left: 31px;

    box-shadow:
        0 0 18px rgba(0,0,128,0.45);

    animation:
        mehrartPulse 1.4s
        ease-in-out infinite;

}


@keyframes mehrartSpin {

    to {
        transform: rotate(360deg);
    }

}


@keyframes mehrartPulse {

    0%,
    100% {

        transform: scale(0.75);

        opacity: 0.55;

    }

    50% {

        transform: scale(1.15);

        opacity: 1;

    }

}


/* =====================================================
   TEXT
===================================================== */

.booking-loading-title {

    font-size: 20px;

    font-weight: 700;

    color: #111827;

    margin-bottom: 9px;

}


.booking-loading-text {

    font-size: 14px;

    color: #6b7280;

    margin-bottom: 25px;

}


/* =====================================================
   PROGRESS BAR
===================================================== */

.booking-loading-progress {

    width: 100%;

    height: 4px;

    overflow: hidden;

    border-radius: 10px;

    background:
        rgba(0,0,128,0.10);

}


.booking-loading-progress-bar {

    width: 35%;

    height: 100%;

    border-radius: 10px;

    background:
        #000080;

    animation:
        mehrartProgress 1.5s
        ease-in-out infinite;

}


@keyframes mehrartProgress {

    0% {
        transform: translateX(-120%);
    }

    50% {
        transform: translateX(180%);
    }

    100% {
        transform: translateX(300%);
    }

}


/* =====================================================
   MEHR ART - FORGOT PASSWORD
===================================================== */

.forgot-password-link {

    text-align: center;

    margin-top: 18px;

}


.forgot-password-link a {

    display: inline-block;

    color: #000080;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    padding: 6px 12px;

    border-radius: 8px;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;

}


.forgot-password-link a:hover {

    color: #ffffff;

    background: #000080;

    transform: translateY(-1px);

}


.forgot-password-link a:active {

    transform: translateY(0);

}


/* =====================================================
   MEHR ART
   FORGOT PASSWORD PAGE
===================================================== */

.forgot-page {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    background:
        radial-gradient(
            circle at top,
            rgba(0, 0, 128, 0.10),
            transparent 45%
        ),
        #f7f8fc;

}


/* =====================================================
   CONTAINER
===================================================== */

.forgot-container {

    flex: 1;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 50px 20px;

}


/* =====================================================
   CARD
===================================================== */

.forgot-card {

    width: 100%;

    max-width: 520px;

    background: rgba(255,255,255,0.96);

    border-radius: 24px;

    padding: 42px 36px;

    text-align: center;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.10);

    border: 1px solid rgba(0,0,128,0.08);

}


/* =====================================================
   ICON
===================================================== */

.forgot-icon {

    width: 76px;

    height: 76px;

    margin: 0 auto 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #000080;

    color: white;

    font-size: 32px;

    box-shadow:
        0 10px 25px rgba(0,0,128,0.25);

}


/* =====================================================
   TITLE
===================================================== */

.forgot-card h1 {

    margin: 0;

    color: #111827;

    font-size: 28px;

    font-weight: 800;

}


.forgot-subtitle {

    margin-top: 10px;

    color: #6b7280;

    font-size: 15px;

}


/* =====================================================
   MESSAGE
===================================================== */

.forgot-message {

    margin-top: 28px;

    padding: 20px;

    background: #f8f9ff;

    border-radius: 16px;

    border-right: 4px solid #000080;

    text-align: right;

}


.forgot-message h3 {

    margin-top: 0;

    margin-bottom: 12px;

    color: #000080;

    font-size: 17px;

}


.forgot-message p {

    margin: 10px 0;

    color: #555;

    line-height: 2;

    font-size: 14px;

}


.forgot-message strong {

    color: #000080;

}


/* =====================================================
   STEPS
===================================================== */

.forgot-steps {

    margin-top: 24px;

    text-align: right;

}


.forgot-step {

    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 14px 0;

}


.step-number {

    min-width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #000080;

    color: white;

    font-size: 14px;

    font-weight: bold;

}


.forgot-step strong {

    display: block;

    color: #222;

    font-size: 14px;

}


.forgot-step p {

    margin: 4px 0 0;

    color: #777;

    font-size: 13px;

}


/* =====================================================
   CONTACT
===================================================== */

.forgot-contact {

    margin-top: 20px;

    padding: 16px;

    display: flex;

    align-items: center;

    gap: 14px;

    text-align: right;

    background: #000080;

    color: white;

    border-radius: 16px;

}


.contact-icon {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: rgba(255,255,255,0.15);

    font-size: 20px;

}


.forgot-contact span {

    display: block;

    font-size: 12px;

    opacity: 0.8;

}


.forgot-contact strong {

    display: block;

    margin-top: 4px;

    font-size: 14px;

}


/* =====================================================
   BACK BUTTON
===================================================== */

.forgot-back-button {

    display: block;

    margin-top: 24px;

    padding: 14px;

    border-radius: 12px;

    background: white;

    border: 1px solid #000080;

    color: #000080;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;

    transition: all 0.25s ease;

}


.forgot-back-button:hover {

    background: #000080;

    color: white;

    transform: translateY(-2px);

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .forgot-container {

        padding: 30px 14px;

    }


    .forgot-card {

        padding: 32px 20px;

        border-radius: 20px;

    }


    .forgot-card h1 {

        font-size: 24px;

    }

}



.forgot-contact {

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.forgot-contact:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0,0,128,0.22);

}


.forgot-contact:active {

    transform: scale(0.98);

}



