/* Reset و فونت‌ها */
@import url("https://fonts.googleapis.com/css2?family=Tanha&display=swap");
@import url("https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css");

:root {
    --primary-color: #00aeef;
    /* --secondary-color: #FFF9E6; */
    --secondary-color: #79708f34;
    --accent-color: #ffd700;
    --text-color: #333;
    --light-gray: #f1f1f1;
    --white: #fff;
    --black: #000;
    --error-color: #e74c3c;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --sidebar-bg: linear-gradient(135deg, #3b81c7 0%, #518cc7 100%);
    --tab-active: #e6f7ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.main-content {
    width: -webkit-fill-available;
}

/* هدر */
.header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid var(--accent-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    flex: 0 0 auto;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.header-main-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
}

.nav-section {
    display: flex;
    align-items: center;
}


.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    font-weight: bold;
    white-space: nowrap;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    min-width: 180px;
    box-shadow: var(--box-shadow);
    border-radius: 5px;
    z-index: 100;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 8px 15px;
}

.dropdown-menu a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-weight: normal;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background-color: #f5f5f5;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: none;
    border-radius: 20px;
    padding: 8px 15px;
    margin: 0 15px;
    width: 220px;
}

.search-box input {
    border: none;
    background: transparent;
    padding: 0.5rem;
    width: 100%;
    outline: none;
    font-family: inherit;
    font-size: 14px;
}


.search-box button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #777;
    padding: 0;
    margin-right: 5px;
}

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #0088cc;
    border-color: #0088cc;
}

.btn-support {
    background-color: #6c757d;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.btn-support:hover {
    background-color: #5a6268;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
@media (min-width: 992px) {
    .main-image img {
        margin-top: -12rem;
    }
    .salon-container {
        align-items: center !important;
    }
}
/* استایل‌های موبایل */
@media (max-width: 992px) {
    .header-container {
        padding: 0 10px;
    }

    .header-main-nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        box-shadow: var(--box-shadow);
        transition: all 0.3s ease;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        overflow-y: auto;
    }

    .header-main-nav.active {
        right: 0;
    }

    .nav-section {
        width: 100%;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .left-section,
    .right-section {
        width: 100%;
    }


    .main-nav {
        width: 100%;
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .search-box {
        width: 100%;
        margin: 15px 0;
    }

    .auth-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .auth-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        width: 100%;
        padding: 10px 0 10px 20px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .header {
        padding: 0.8rem 0;
    }

    .header-main-nav {
        top: 70px;
        height: calc(100vh - 70px);
    }
}

@media (max-width: 480px) {
    .logo {
        margin-left: 10px;
    }

    .logo h1 {
        font-size: 1.3rem;
    }
}

/* سکشن رزرو */
.appointment-section {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #e6f7ff 0%, #fff9e6 100%);
    position: relative;
    overflow: hidden;
}

.appointment-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 174, 239, 0.1);
    border-radius: 50%;
}

.appointment-section::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
}

.appointment-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.appointment-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 5px solid var(--white);
}

.appointment-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.appointment-image:hover img {
    transform: scale(1.05);
}

.appointment-text {
    flex: 1;
}

.appointment-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.appointment-text h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.appointment-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.reserve-button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
    position: relative;
    overflow: hidden;
    font-weight: bold;
}

.reserve-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.reserve-button:hover {
    background-color: #0088cc;
    transform: translateY(-3px);
}

.reserve-button:hover::before {
    left: 100%;
}

/* سکشن جستجو */
.search-section {
    padding: 4rem 0;
    background-color: var(--white);
    position: relative;
}

.search-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
}

.search-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
}

.search-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.search-container {
    display: flex;
    gap: 1rem;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(0, 174, 239, 0.2);
}

.search-container input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-container input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.search-button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.search-button:hover {
    background-color: #0088cc;
    transform: translateY(-2px);
}

/* اسلایدر پزشکان */
.doctor-slider {
    padding: 4rem 0;
    position: relative;
    background-color: var(--secondary-color);
}

.doctor-slider h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
}

.doctor-slider h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.slider-container {
    overflow: hidden;
    padding: 0 3rem;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.slide {
    min-width: 300px;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent-color);
}

.slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.slide img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 5px solid var(--light-gray);
    transition: all 0.3s ease;
}

.slide:hover img {
    border-color: var(--accent-color);
}

.slide h3 {
    margin: 1rem 0 0.5rem;
    color: var(--primary-color);
}

.slide p {
    color: #666;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.prev:hover,
.next:hover {
    background-color: #0088cc;
    transform: translateY(-50%) scale(1.1);
}

.prev {
    right: 0;
}

.next {
    left: 0;
}

/* فوتر */
.footer {
    background: linear-gradient(135deg, #003d59 0%, #0077b8 50%, #00aeef 100%);

    color: var(--white);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after,
.footer-col h4::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-about {
    margin-bottom: 1.5rem;
    color: #eee;
}

.contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #eee;
}

.contact-info i {
    color: var(--accent-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    border-radius: 0 5px 5px 0;
    padding: 0 1rem;
    background-color: var(--accent-color);
    color: #333;
    font-weight: bold;
}

.newsletter-form button:hover {
    background-color: #ffc000;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links h4 {
    margin-bottom: 0;
}

.social-links a {
    display: inline-block;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    color: #333;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* دکمه بازگشت به بالا */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0088cc;
    transform: translateY(-5px);
}

/* استایل‌های اختصاصی فرم ثبت‌نام */
.register-section {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #e7e6e4 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.register-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.register-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #3d94db;
    position: relative;
    overflow: hidden;
}
/*
.register-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background-color: rgba(0, 174, 239, 0.1);
  border-radius: 50%;
  z-index: 0;
} */

.register-title {
    color: #00aeef;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
    font-family: "Tanha", sans-serif;
}

.register-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: #3d94db;
    border-radius: 2px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
    font-family: "Tanha", sans-serif;
}

.form-input {
    padding: 0.8rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    font-family: "Tanha", sans-serif;
}

.form-input:focus {
    border-color: #00aeef;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
    background-color: #fff;
}

.form-error {
    color: #e74c3c;
    font-size: 0.8rem;
    height: 1rem;
    font-family: "Tanha", sans-serif;
}

.register-button {
    background-color: #00aeef;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: "Tanha", sans-serif;
}

.register-button:hover {
    background-color: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

.register-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-family: "Tanha", sans-serif;
}

.link {
    color: #00aeef;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: "Tanha", sans-serif;
}

.link:hover {
    text-decoration: underline;
    color: #0088cc;
}

/* استایل بخش لاگین */
.login-section {
    padding: 4rem 0;
    background: linear-gradient(
        135deg,
        #e6f7ff 0%,
        var(--secondary-color) 100%
    );
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.login-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    /* box-shadow: var(--box-shadow); */
    border-top: 5px solid var(--accent-color);
}

.login-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.alternative-button {
    width: 100%;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.alternative-button:hover {
    background-color: rgba(0, 174, 239, 0.1);
}

.login-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.login-links p {
    margin-bottom: 0.8rem;
}

/* سکشن آرایشگران برتر */
.beauticians-section {
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.beauticians-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(162, 155, 254, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.beauticians-section::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 182, 193, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #6a3093;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #a29bfe, #fd79a8);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #636e72;
    max-width: 600px;
    margin: 0 auto;
}

.beauticians-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.beautician-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.beautician-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.beautician-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.beautician-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.beautician-card:hover .beautician-image img {
    transform: scale(1.1);
}

.beautician-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #ff9a9e, #fad0c4);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.beautician-info {
    padding: 1.5rem;
}

.beautician-info h3 {
    font-size: 1.4rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.beautician-specialty {
    color: #6c5ce7;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.beautician-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffd700;
    font-size: 1.1rem;
}

.rating-number {
    color: #636e72;
    font-size: 0.9rem;
}

.beautician-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #636e72;
    font-size: 0.9rem;
}

.stat i {
    color: #6c5ce7;
    width: 16px;
}

.beautician-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #e9ecef;
}

.more-info-btn {
    width: 100%;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.more-info-btn:hover {
    background: linear-gradient(45deg, #5649c9, #8c83e6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.view-all-btn {
    background: transparent;
    color: #6c5ce7;
    border: 2px solid #6c5ce7;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #6c5ce7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.3);
}

/* سکشن جستجوی پیشرفته */
.advanced-search-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.advanced-search-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 174, 239, 0.1);
    border-radius: 50%;
}

.advanced-search-section::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
}

.search-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.search-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.search-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.search-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.search-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f1f1f1;
}

.search-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.search-tab.active {
    color: var(--primary-color);
}

.search-tab.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.search-tab:hover {
    color: var(--primary-color);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group label i {
    color: var(--accent-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.search-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.search-btn,
.reset-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn {
    background: linear-gradient(45deg, var(--primary-color), #0088cc);
    color: white;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

.reset-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
}

.reset-btn:hover {
    background: #e9ecef;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* سکشن آرایشگاه‌های برتر */
.salons-section {
    padding: 2rem 0 2rem;
    position: relative;
    overflow: hidden;
}

/* .salons-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(0, 174, 239, 0.1);
  border-radius: 50%;
  z-index: 0;
} */
/*
.salons-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  z-index: 0;
} */

.salons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.salon-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.salon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.salon-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.salon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.salon-card:hover .salon-image img {
    transform: scale(1.1);
}

.salon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, var(--primary-color), #0088cc);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.salon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.salon-card:hover .salon-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: var(--accent-color);
    color: #333;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-view-btn:hover {
    background: #ffc000;
    transform: scale(1.05);
}

.salon-info {
    padding: 1.5rem;
}

.salon-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.salon-header h3 {
    font-size: 1.4rem;
    color: #2d3436;
    margin: 0;
}

.salon-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-number {
    color: #636e72;
    font-weight: 600;
}

.salon-description {
    color: #636e72;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.salon-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #636e72;
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--primary-color);
    width: 16px;
}

.salon-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: #e6f7ff;
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #b3e0ff;
}

.salon-services {
    margin-bottom: 1.5rem;
}

.salon-services h4 {
    font-size: 1rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.services-list span {
    background: #f8f9fa;
    color: #495057;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid #e9ecef;
}

.salon-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
}

.salon-btn {
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.salon-btn.primary {
    background: linear-gradient(45deg, var(--primary-color), #0088cc);
    color: white;
}

.salon-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

.salon-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.salon-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* صفحه پروفایل */
.profile-page {
    padding-top: 20px;
    min-height: calc(100vh - 80px);
    /* background-color: var(--secondary-color); */
}

.profile-container {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
}

.profile-sidebar {
    width: 300px;
    background: var(--sidebar-bg);
    color: var(--white);
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
}

.profile-info {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.profile-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.profile-info p {
    color: #ddd;
    font-size: 0.9rem;
}

.sidebar-menu ul {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: #ddd;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.sidebar-menu a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.sidebar-menu a:hover::before {
    right: 100%;
}

.sidebar-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateX(-5px);
}

.sidebar-menu a.active {
    background-color: var(--accent-color);
    color: #333;
    font-weight: bold;
}

.sidebar-menu a.active:hover {
    transform: none;
}

.sidebar-menu i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.profile-content {
    flex: 1;
    padding: 2rem;
    min-height: calc(100vh - 120px);
}

.profile-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
}

.profile-header h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.profile-header p {
    color: #666;
}

.profile-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(
        to right,
        var(--primary-color),
        var(--accent-color)
    );
    border-radius: 3px;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.detail-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 174, 239, 0.05) 0%,
        rgba(255, 215, 0, 0.05) 100%
    );
    z-index: 0;
}

.detail-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(0, 174, 239, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    z-index: 1;
    transition: all 0.3s ease;
}

.detail-card:hover .detail-icon {
    background-color: var(--accent-color);
    color: #333;
    transform: rotate(15deg);
}

.detail-content {
    z-index: 1;
}

.detail-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.detail-content p {
    color: #666;
    font-size: 1.2rem;
    font-weight: bold;
}

/* استایل‌های مدارک آرایشگر */
/* .full-page-wrapper {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    direction: rtl;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
} */

.documents-container {
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    padding: 6rem;
    /* box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); */
    border-radius: 12px;
    margin-bottom: 0rem;
}

.documents-header {
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.documents-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #00aeef, #ffd700);
    border-radius: 3px;
}

.documents-header h1 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.documents-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.messages-container {
    margin-bottom: 2rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-right: 4px solid transparent;
}

.alert i {
    font-size: 1.2rem;
}

.alert-success {
    background-color: #e8f8f0;
    color: #27ae60;
    border-right-color: #27ae60;
}

.alert-danger {
    background-color: #fce8e8;
    color: #e74c3c;
    border-right-color: #e74c3c;
}

.alert-warning {
    background-color: #fff8e8;
    color: #f39c12;
    border-right-color: #f39c12;
}

.alert ul {
    padding-right: 1.5rem;
    margin-top: 0.5rem;
}

.readonly-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.info-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #ddd;
}

.info-section:last-child {
    border-bottom: none;
}

.info-section h2 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.info-section h2 i {
    color: #00aeef;
}

.info-content {
    background-color: #fff;
    padding: 1.2rem;
    border-radius: 8px;
    line-height: 1.8;
}

.social-media-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.social-item {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-item span:first-child {
    font-weight: bold;
    color: #34495e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-item i {
    color: #00aeef;
}

.documents-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-item {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.document-item span:first-child {
    font-weight: bold;
    color: #34495e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.document-item i {
    color: #00aeef;
}

.document-link {
    color: #3498db;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.document-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.current-file {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.current-file:hover {
    color: #2980b9;
    text-decoration: underline;
}

.text-muted {
    color: #95a5a6;
}

.form-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-top: 2.5rem;
}

.form-section:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: #000000;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-title i {
    color: #000000;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.bio-field {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    line-height: 1.8;
}

.bio-field:focus {
    border-color: #00aeef;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.social-media-grid .form-group {
    margin-bottom: 0;
}

.social-media-grid label {
    font-weight: bold;
    color: #34495e;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.social-media-grid label i {
    font-size: 1.1rem;
}

.social-media-grid input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.social-media-grid input:focus {
    border-color: #00aeef;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.document-uploads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.upload-field {
    background-color: #fff;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.upload-field:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.upload-header {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.upload-header label {
    font-weight: bold;
    color: #34495e;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-header label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    cursor: pointer;
}

.file-upload-input {
    display: none;
}

.upload-btn {
    background-color: var(--secondary-color);
    color: #2c3e50;
    border: 2px dashed var(--primary-color);
    padding: 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    height: 80px;
}

.upload-btn:hover {
    background-color: rgba(0, 174, 239, 0.1);
    transform: translateY(-2px);
}

.upload-btn i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.file-name {
    font-size: 0.8rem;
    color: #7f8c8d;
    text-align: center;
    transition: all 0.3s ease;
    word-break: break-all;
    min-height: 20px;
}

.file-name.has-file {
    color: #27ae60;
    font-weight: bold;
}

.submit-section {
    margin-top: 1rem;
    text-align: center;
    background: none;
    padding: 0;
    box-shadow: none;
}

.submit-btn {
    background: linear-gradient(to right, #00aeef, #00c6ff);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
}

.submit-btn:active {
    transform: translateY(1px);
}

/* استایل‌های سوابق کاری */
.work-experiences-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.work-experience-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--accent-color);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.work-experience-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.work-experience-fields {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.work-experience-fields .form-group {
    flex: 1;
    min-width: 200px;
}

.work-experience-fields .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #34495e;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.work-experience-fields .form-group label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.work-experience-fields input[type="text"],
.work-experience-fields input[type="date"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.work-experience-fields input[type="text"]:focus,
.work-experience-fields input[type="date"]:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.currently-working-group {
    display: flex;
    flex-direction: column;
}

.currently-working-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.currently-working-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
    cursor: pointer;
}

.currently-working-checkbox label {
    font-weight: normal;
    cursor: pointer;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.remove-experience-btn {
    background-color: #fce8e8;
    color: #e74c3c;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.remove-experience-btn:hover {
    background-color: #fadbd8;
    transform: translateY(-2px);
}

.remove-experience-btn i {
    font-size: 0.9rem;
}

.add-experience-btn {
    background-color: #e8f8f0;
    color: #27ae60;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.add-experience-btn:hover {
    background-color: #d5f5e3;
    transform: translateY(-2px);
}

.add-experience-btn i {
    font-size: 1.1rem;
}

.work-experiences-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.experience-detail {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed #eee;
}

.experience-detail:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.experience-detail span:first-child {
    min-width: 120px;
    font-weight: bold;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.experience-detail i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.experience-detail span:last-child {
    color: #333;
    flex: 1;
}

.comment-field {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.comment-field:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.comment-counter {
    display: block;
    text-align: left;
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
}

.comment-counter.warning {
    color: #e74c3c;
}

.salon-autocomplete-container {
    position: relative;
}

.autocomplete-results {
    position: absolute;
    z-index: 1000;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
}

.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.autocomplete-item:hover {
    background-color: #f0f8ff;
}

.autocomplete-item.active {
    background-color: #00aeef;
    color: white;
}

/* استایل‌های چت */
.frame {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    background-size: 400% 400%;
    animation: bgGradient 15s ease infinite;
    height: 500px;
    overflow: auto;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    font-family: "IRANSans", sans-serif;
    color: #222;
    display: flex;
    flex-direction: column;
}

ul#chat {
    list-style-type: none;
    padding: 20px;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    scroll-behavior: smooth;
    justify-content: flex-start;
}

.macro {
    max-width: 70%;
    border-radius: 18px;
    padding: 12px 16px;
    word-wrap: break-word;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.3s ease;
}

.msj {
    align-self: flex-start;
    background: #e3f2fd;
    color: #0d47a1;
    border-top-left-radius: 0;
    text-align: left;
    float: left;
}

.msj-rta {
    align-self: flex-end;
    background: #d9fdd3;
    color: #1b5e20;
    border-top-right-radius: 0;
    text-align: right;
    float: right;
}

.text > p:first-of-type {
    margin: 0 0 6px 0;
    font-size: 14px;
    line-height: 1.5;
}

.text > p:last-of-type {
    font-size: 11px;
    margin: 0;
    text-align: right;
    opacity: 0.7;
}

.frame > div:last-of-type {
    display: flex;
    padding: 10px;
    gap: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid #ddd;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.mytext {
    border: 0;
    padding: 12px 16px;
    background: #fff;
    border-radius: 25px;
    width: 100%;
    font-size: 14px;
}

.mytext:focus {
    outline: none;
    background: #f9f9f9;
}

.send-btn {
    background: #ffca28;
    color: #333;
    padding: 12px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn:hover {
    background: #ffc107;
    transform: scale(1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استایل‌های پنل حرفه‌ای */
.main-layout {
    display: flex;
    margin-top: 20px;
    gap: 20px;
}

.sidebar {
    width: 30%;
    background: var(--sidebar-bg);
    color: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    height: calc(100vh - 120px);
    position: sticky;
    top: 110px;
    box-shadow: var(--box-shadow);
}

.horizontal-tabs {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.tabs-header {
    display: flex;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid var(--accent-color);
}

.tab {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: bold;
    color: #555;
    border-bottom: 3px solid transparent;
}

.tab:hover {
    background-color: var(--tab-active);
    color: var(--primary-color);
}

.tab.active {
    background-color: var(--tab-active);
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab i {
    font-size: 1.1rem;
}

.tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

.content-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    border-top: 4px solid var(--primary-color);
}

.content-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(0, 174, 239, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background-color: var(--accent-color);
    color: #333;
    transform: rotate(15deg);
}

.stat-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.stat-content p {
    color: #666;
    font-size: 1.5rem;
    font-weight: bold;
}

.cover-preview {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    border: 2px dashed #ddd;
}

.cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-actions {
    display: flex;
    gap: 1rem;
}

.comments-list {
    margin-top: 1.5rem;
}

.comment-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-user {
    font-weight: bold;
    color: var(--primary-color);
}

.comment-date {
    color: #888;
    font-size: 0.9rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

/* استایل‌های سالن */
.about-section {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 174, 239, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.team-section {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
}

.team-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.member-info {
    padding: 1rem;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.member-info p {
    color: #666;
    font-size: 0.9rem;
}

.contact-section {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
}

.contact-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 174, 239, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    min-height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* استایل‌های مودال */
.modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
    width: 500px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #e74c3c;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.modal-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
}

.modal-btn-cancel {
    background-color: #f1f1f1;
    color: #333;
}

.modal-btn-cancel:hover {
    background-color: #e1e1e1;
}

.modal-btn-confirm {
    background-color: #00aeef;
    color: white;
}

.modal-btn-confirm:hover {
    background-color: #0088cc;
}

/* نوتیفیکیشن‌ها */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notification {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    padding: 16px 20px;
    min-width: 300px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    border-right: 4px solid;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.info {
    border-right-color: var(--primary-color);
}

.notification.success {
    border-right-color: #28a745;
}

.notification.error {
    border-right-color: #dc3545;
}

.notification-content {
    display: flex;
    align-items: center;
}

.notification-message {
    font-weight: 500;
}

/* رسپانسیو */
@media (max-width: 992px) {
    .main-layout {
        flex-direction: column;
    }

    .sidebar,
    .main-content {
        width: 100%;
    }

    .sidebar {
        height: auto;
        position: static;
        margin-bottom: 1.5rem;
    }

    .tabs-header {
        flex-wrap: wrap;
    }

    .tab {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        padding: 1rem;
    }

    .profile-container {
        flex-direction: column;
    }

    .profile-sidebar {
        width: 100%;
        padding: 1.5rem;
    }

    .profile-info {
        display: flex;
        align-items: center;
        text-align: right;
        gap: 1.5rem;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .profile-avatar {
        margin-bottom: 0;
        width: 80px;
        height: 80px;
    }

    .sidebar-menu {
        margin-top: 1rem;
    }

    .profile-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-main-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none;
    }

    .nav-section {
        width: 100%;
        margin-bottom: 15px;
        justify-content: space-between;
    }

    .main-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .search-box {
        width: 100%;
        margin: 10px 0;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hamburger {
        display: block;
    }

    .header-main-nav.active {
        display: flex;
    }

    .header-container {
        padding: 10px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .appointment-content {
        flex-direction: column;
    }

    .appointment-text {
        text-align: center;
    }

    .appointment-text h2::after {
        right: 50%;
        transform: translateX(50%);
    }

    .search-container {
        flex-direction: column;
    }

    .slide {
        min-width: 250px;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        box-shadow: var(--box-shadow);
        transition: all 0.3s ease;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
    }

    .main-nav ul li {
        margin-bottom: 1rem;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .auth-buttons {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        left: 1rem;
        bottom: 1rem;
    }

    .register-section {
        padding: 5rem 1rem;
    }

    .register-card {
        padding: 1.5rem;
    }

    .register-title {
        font-size: 1.5rem;
    }

    .register-card::before {
        top: -30px;
        right: -30px;
        width: 100px;
        height: 100px;
    }

    .login-section {
        padding: 2rem;
    }

    .login-card {
        padding: 1.5rem;
    }

    .beauticians-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .beautician-stats {
        grid-template-columns: 1fr;
    }

    .beautician-services {
        justify-content: center;
    }

    .beauticians-section {
        padding: 4rem 0 2rem;
    }

    .beautician-image {
        height: 200px;
    }

    .beautician-info {
        padding: 1rem;
    }

    .beautician-info h3 {
        font-size: 1.2rem;
    }

    .search-tabs {
        flex-direction: column;
    }

    .search-tab {
        width: 100%;
        text-align: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .search-actions {
        flex-direction: column;
    }

    .salons-grid {
        grid-template-columns: 1fr;
    }

    .salon-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .salon-actions {
        grid-template-columns: 1fr;
    }

    .salon-details {
        grid-template-columns: 1fr;
    }

    .search-form {
        padding: 1.5rem;
    }

    .search-header h2 {
        font-size: 1.8rem;
    }

    .salon-info {
        padding: 1rem;
    }

    .salon-actions {
        padding: 0 1rem 1rem;
    }

    .profile-info {
        flex-direction: column;
        text-align: center;
    }

    .profile-details {
        grid-template-columns: 1fr;
    }

    .detail-card {
        flex-direction: column;
        text-align: center;
    }

    .header {
        padding: 0 1rem;
        height: 70px;
    }

    .profile-page {
        padding-top: 70px;
    }

    .documents-container {
        padding: 1.5rem;
    }

    .social-media-grid {
        grid-template-columns: 1fr 1fr;
    }

    .full-page-wrapper {
        padding: 1rem 0;
    }

    .documents-container {
        padding: 1.2rem;
        border-radius: 0;
    }

    .social-media-grid,
    .document-uploads {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .submit-btn {
        width: 100%;
        padding: 1rem;
    }

    .work-experience-fields {
        flex-direction: column;
        gap: 0;
    }

    .work-experience-fields .form-group {
        margin-bottom: 1rem;
    }

    .work-experience-fields .form-group:last-child {
        margin-bottom: 0;
    }

    .experience-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .experience-detail span:first-child {
        min-width: auto;
    }

    .messages-table {
        font-size: 0.85rem;
    }

    .messages-table th,
    .messages-table td {
        padding: 0.7rem;
    }

    .status-badge {
        padding: 0.2rem 0.6rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .tab {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    .tab i {
        font-size: 1rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        align-self: center;
    }

    .main-content {
        padding-top: 80px;
    }

    .document-uploads {
        grid-template-columns: 1fr;
    }

    .upload-field {
        padding: 1rem;
    }

    .days-circle-container {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .circle-text {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .shift-options {
        grid-template-columns: 1fr;
    }

    .day-status {
        flex-direction: column;
        gap: 1rem;
    }

    .preview-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .preview-day {
        width: 100%;
    }

    .preview-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-btn {
        width: 100%;
    }

    .phone-input-container {
        flex-direction: column;
    }

    .change-phone-btn {
        padding: 0.5rem;
    }

    #notification-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }

    .notification {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .beauticians-section {
        padding: 4rem 0 2rem;
    }

    .beautician-image {
        height: 200px;
    }

    .beautician-info {
        padding: 1rem;
    }

    .beautician-info h3 {
        font-size: 1.2rem;
    }
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.profile-sidebar {
    animation: fadeIn 0.5s ease forwards;
}

.profile-content {
    animation: fadeIn 0.5s ease 0.2s forwards;
    opacity: 0;
}

.detail-card:nth-child(1) {
    animation-delay: 0.3s;
}
.detail-card:nth-child(2) {
    animation-delay: 0.4s;
}
.detail-card:nth-child(3) {
    animation-delay: 0.5s;
}

.persian-number {
    font-family: "Tahoma", "Arial", sans-serif;
    direction: rtl;
    unicode-bidi: embed;
}

.char-counter {
    font-weight: bold;
    margin-top: 5px;
}

.valid {
    color: green;
}

.warning {
    color: orange;
}

.invalid {
    color: red;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    z-index: 1000;
    animation: slideIn 0.5s, fadeOut 0.5s 2.5s;
}

.toast.success {
    background-color: #28a745;
}

.toast.error {
    background-color: #dc3545;
}

.current-file-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.current-file-container a {
    margin-right: 10px;
    text-decoration: none;
    color: #333;
}

.remove-file-btn {
    background: none;
    border: none;
    color: red;
    font-size: 16px;
    cursor: pointer;
}

.remove-file-btn:hover {
    color: darkred;
}

.readonly-notice {
    background-color: #fff3cd;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #ffeeba;
    color: #856404;
}

.readonly-mode {
    opacity: 0.8;
}

.readonly-mode input,
.readonly-mode textarea,
.readonly-mode select,
.readonly-mode button,
.readonly-mode .file-upload-label {
    background-color: #f5f5f5;
    cursor: not-allowed;
    pointer-events: none;
}

.readonly-field {
    padding: 8px;
    background-color: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 10px;
}

.messages-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.messages-table th,
.messages-table td {
    padding: 12px 15px;
    text-align: right;
    vertical-align: top;
    border-bottom: 1px solid #e0e0e0;
}

.col-index {
    width: 5%;
}
.col-message {
    width: 45%;
}
.col-status {
    width: 15%;
}
.col-sent-date {
    width: 15%;
}
.col-viewed-date {
    width: 15%;
}

.message-content {
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    max-width: 0;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.status-badge.read {
    background-color: #e6f7ee;
    color: #28a745;
}

.status-badge.unread {
    background-color: #fff3cd;
    color: #d4a10e;
}

/* اسکرول بار زیبا */
ul#chat::-webkit-scrollbar {
    width: 6px;
}

ul#chat::-webkit-scrollbar-track {
    background: transparent;
}

ul#chat::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* استایل‌های سوئیچ */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196f3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.salon-card {
    position: relative; /* برای اینکه دکمه داخل کارت شناور بشه */
    padding-bottom: 0px; /* جا برای دکمه پایین */
}

.more-info-fab {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    font-size: 22px;
    text-decoration: none;
    transition: 0.3s ease;
}

.more-info-fab:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* دکمه نشان‌گذاری بالا سمت چپ */
.salon-image {
    position: relative;
}
/*
.bookmark-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s ease;
} */

.bookmark-btn:hover {
    /*background: #ff4747;*/
    color: #fff;
    transform: scale(1.1);
}

/* افکت نشانه‌گذاری (پالس دور دکمه) */
.more-info-fab::after {
    content: "";
    position: absolute;
    width: 65px;
    height: 65px;
    border: 2px solid rgba(0, 123, 255, 0.6);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}

.more-info-fab:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/*استایل های دکمه های میکاپ در صفحه اصلی*/
.salon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* فاصله بین تگ‌ها */
    margin-top: 10px;
}

.salon-tags .tag {
    background: #f8f9fa;
    color: #666;
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 13px;
    border: 1px solid #e9ecef;
}

.salon-tags .tag:hover {
    background: #f8f9fa;
    color: #666;
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 13px;
    border: 1px solid #e9ecef;
}
/*استایل های دکمه های میکاپ در صفحه اصلی*/
.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

#load-more {
    padding: 12px 30px;
    background: linear-gradient(to right, #4f46e5, #3b82f6);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#load-more:hover {
    background: linear-gradient(to right, #3b82f6, #4f46e5);
    transform: translateY(-2px);
}

#load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/*استایل های دکمه های مشاهده بیشتر در صفحه اصلی*/

/* دکمه حذف کاور */
#delete-cover {
    background-color: #ffd700; /* زرد طلایی */
    border-color: #ffd700;
    color: #000; /* متن مشکی برای خوانایی */
}

#delete-cover:hover {
    background-color: #ffc300; /* زرد روشن‌تر هنگام هاور */
    border-color: #ffc300;
}

/* دکمه‌های ذخیره (btn-secondary) */
button.btn-secondary {
    background-color: #ffd700;
    border-color: #ffd700;
    color: #000;
}

button.btn-secondary:hover {
    background-color: #ffc300;
    border-color: #ffc300;
}

/* دکمه ورود */
.login-button {
    background-color: var(--primary-color); /* آبی جذاب */
    border: 1px solid var(--primary-color);
    color: #fff; /* متن سفید برای خوانایی */
    padding: 10px 20px;
    border-radius: 5px;

    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #003772; /* آبی تیره‌تر هنگام هاور */
    border-color: #0056b3;
}

/* غیرفعال بودن هنگام لود */
.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================<صفحه اطلاعات سالن> ======================================*/
/* استایل‌های پایه */
:root {
    --primary-color: #00aeef;
    --accent-color: #ff9800;
    --text-color: #333;
    --light-gray: #f5f7fa;
    --medium-gray: #e4e8f0;
    --dark-gray: #6c757d;
    --primary-font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
}
/* ریست ساده */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
    padding: 0;
}

/* حل مشکل رفتن زیر هدر */
.container {
    width: 100%;
    max-width: 1200px;

    padding: 0 15px;
    margin-top: 100px; /* متناسب با ارتفاع هدر */
}

/* بخش گالری سالن */
.salon-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.salon-gallery {
    flex: 1;
    min-width: 350px;
}

/* استایل اصلی برای دسکتاپ */
/* ----- پایه (دسکتاپ) ----- */
.main-image {
    display: flex;
    justify-content: center; /* مرکز افقی والد */
    align-items: center;     /* مرکز عمودی والد (در صورت داشتن ارتفاع مشخص) */
    overflow: visible;       /* اگر transform باعث بیرون زدن شد مشکلی نداشته باشه */
    padding: 10px;           /* اگر لازم است فاصله اطراف تصویر */
  }

  .main-image img {
    width: 100%;        /* حداکثر پهنا را می‌گیرد ولی با max-width محدود می‌شود */
    max-width: 900px;   /* تنظیم اختیاری برای جلوگیری از کشیدگی بیش از حد در دسکتاپ */
    height: auto;       /* مهم: از height:100% پرهیز می‌کنیم تا نسبت تصویر حفظ شود */
    border-radius: 12px;
    object-fit: cover;  /* وقتی width/height ثابت باشه مفیده — با height:auto مشکلی ایجاد نمیکند */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    transform: translateY(-40px); /* افکتی که می‌خواستی — ولی با احتیاط */
    margin-top: 10px;
    display: block;     /* margin:auto زمانی که عرض کمتر از 100% باشه موثر خواهد بود */
  }

  /* hover effect دسکتاپ */
  @media (min-width: 1025px) {
    .main-image img:hover {
      transform: translateY(-40px) scale(1.05);
    }
  }

  /* ----- تبلت (مثال) ----- */
  @media (max-width: 1024px) {
    .main-image img {
      max-width: 720px;
      transform: translateY(-30px);
      margin-top: 8px;
    }

    .main-image img:hover {
      transform: translateY(-30px) scale(1.03);
    }
  }

  /* ----- موبایل: در اینجا از translateY پایه حذف می‌کنیم تا تصویر وسط و همخط باشد ----- */
  @media (max-width: 768px) {
    .main-image {
      justify-content: center;
      text-align: center;
      padding: 12px;
    }

    .main-image img {
      transform: none;      /* حذف translate برای جلوگیری از بالازدن تصویر */
      height: 300px;        /* اگر می‌خواهی ارتفاع ثابت */
      width: calc(100% - 24px); /* کمی فاصله از لبه‌ها */
      max-width: 480px;     /* جلوگیری از خیلی پهن شدن در بعضی صفحات */
      margin: 0 auto 20px;  /* وسط‌چین واقعی وقتی عرض کمتر از 100% است */
      object-fit: cover;
    }

    .main-image img:hover {
      transform: scale(1.02);
    }

    .salon-container {
      flex-direction: column;
    }

    .salon-gallery,
    .salon-info {
      width: 100%;
    }
  }

  /* ----- موبایل‌های خیلی کوچک ----- */
  @media (max-width: 480px) {
    .main-image img {
      height: 250px;
      width: calc(100% - 20px);
      max-width: 420px;
      border-radius: 8px;
    }
  }


.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail {
    flex: 1;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: #e91e63;
}

.thumbnail img {
    width: 100%;
    display: block;
}

/* اطلاعات سالن */
.salon-info {
    flex: 1;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.salon-title {
    font-size: 1.9rem;
    color: #2c3e50;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.salon-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.3rem;
}

.stars {
    color: #ffc107;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.salon-description {
    margin-bottom: 20px;
    color: #555;
}

.salon-tags {
    margin-bottom: 20px;
}

.tag {
    background: #f1f1f1;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    margin: 0 5px 5px 0;
    display: inline-block;
    font-size: 14px;
}

.salon-details {
    margin-bottom: 20px;
}

.detail-item {
    margin-bottom: 10px;
    color: #444;
}

.detail-item i {
    color: #e91e63;
    margin-left: 8px;
}

.action-buttons .btn {
    background: #2e38bec7;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.action-buttons .btn:hover {
    background: #3d5cc2;
}

/* بخش خدمات */
.services-section {
    padding: 1rem 0 2.8rem 0;
    margin: 2.5rem 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}
.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
}
.services-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        to right,
        var(--secondary-color),
        var(--accent-color)
    );
    border-radius: 5px 5px 0 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.3rem;
    padding: 0 1.2rem;
}

section-title h2 {
    font-size: 1.9rem;
    color: #2c3e50;
    margin-bottom: 0.7rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -12px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 3px;
}

.section-title p {
    color: var(--dark-gray);
    margin-top: 1.2rem;
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    padding: 0 1.2rem;
}

.service-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-info {
    padding: 1.5rem;
}

.service-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    font-weight: 700;
}

.service-info p {
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-size: 1rem;
}
.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
}
.price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* بخش نظرات */
/* بخش نظرات */
.reviews-section {
    padding: 2.8rem 0;
    margin: 2.5rem 0;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.reviews-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    /* background: linear-gradient(to right, var(--primary-color), #4da3ff); */
    background: linear-gradient(90deg, #ffd700, #d1ad69);

    border-radius: 5px 5px 0 0;
}

/* لیست نظرات */
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
}

/* هر کارت نظر */
.review-card {
    background: #f9f9f9;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease;
    width: 100%;
}

.review-card:hover {
    transform: translateY(-3px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info h4 {
    margin: 0;
    font-weight: 700;
    color: #2c3e50;
}

.review-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.stars {
    font-size: 1rem;
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.review-content {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    border-right: 3px solid var(--primary-color);
    padding-right: 1rem;
}

/* پاسخ سالن */
.owner-reply-card {
    background: #eef6ff;
    border: 1px solid #c3e6ff;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.8rem;
}

/* ریپلای کاربران */
.reply-card {
    background: #f7faff;
    border-left: 3px solid var(--primary-color);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-top: 0.8rem;
}

/* دکمه مشاهده بیشتر */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

#load-more-reviews {
    padding: 0.5rem 1.4rem;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(
        90deg,
        #6cb8ff,
        #3399ff
    ); /* آبی کم‌رنگ گرادیانتی */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.center-screen {
    display: flex;
    justify-content: center; /* وسط افقی */
    align-items: center; /* وسط عمودی */
    height: 10vh; /* ارتفاع کامل صفحه */
}

#load-more-reviews:hover {
    background-color: #1a4ed0;
}

/* .reviews-section {
        padding: 2.8rem 0;
        margin: 2.5rem 0;
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        position: relative;
    }

    .reviews-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--accent-color), #ffca28);
        border-radius: 5px 5px 0 0;
    }

    .reviews-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.8rem;
        padding: 0 1.2rem;
    }


    .review-card {
            background: var(--light-gray);
            border-radius: 14px;
            padding: 1.7rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            border: 1px solid #eaeaea;
            transition: transform 0.3s ease;
        }

        .review-card:hover {
            transform: translateY(-5px);
        }

    .review-header {
            display: flex;
            align-items: center;
            gap: 1.1rem;
            margin-bottom: 1.2rem;
        }

        .reviewer-avatar {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .reviewer-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .reviewer-info {
            flex: 1;
        }

        .reviewer-info h4 {
            margin-bottom: 0.4rem;
            color: #2c3e50;
            font-weight: 700;
        }

        .reviewer-info .stars {
            margin-bottom: 0.4rem;
            font-size: 1rem;
            color: #ffc107;
        }
        .review-date {
            font-size: 0.85rem;
            color: var(--dark-gray);
        }

        .review-content {
            color: #555;
            line-height: 1.8;
            border-right: 3px solid var(--primary-color);
            padding-right: 1.2rem;
            font-size: 1rem;
        } */

/* مودال رزرو */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-outline {
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* فونت انگلیسی قبلی را حفظ می‌کنیم و فونت فارسی را اضافه می‌کنیم */
:root {
    --primary-font: "Vazir", "Tanha", "Segoe UI", Tahoma, Geneva, Verdana,
        sans-serif;
    --english-font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

* {
    font-family: var(--primary-font);
}

/* عناوین */
h1,
h2,
h3,
h4,
h5,
h6,
.section-header h2,
.register-title,
.login-title,
.profile-header h1,
.documents-header h1 {
    font-family: var(--primary-font);
    font-weight: 700;
}

/* متن‌های انگلیسی (مانند لوگو) */
.logo h1,
.english-text {
    font-family: var(--english-font);
}

/* دکمه‌ها */
.btn,
.reserve-button,
.search-button,
.register-button,
.login-button,
.more-info-btn,
.view-all-btn,
.submit-btn,
.send-btn,
.salon-btn {
    font-family: var(--primary-font);
}

/* فرم‌ها */
.form-input,
.form-label,
.form-error,
.mytext {
    font-family: var(--primary-font);
}

/* منوها */
.main-nav a,
.sidebar-menu a,
.footer-col ul li a {
    font-family: var(--primary-font);
}

/* تنظیمات اضافی برای ظاهر بهتر */
.appointment-text h2::after,
.doctor-slider h2::after,
.search-section h2::after {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

/* تنظیمات dropdown برای راست به چپ */
.dropdown-menu {
    right: auto;
    left: 0;
    text-align: right;
}

/* تنظیمات اسلایدر */
.prev {
    right: auto;
    left: 0;
}

.next {
    left: auto;
    right: 0;
}

/* اضافه کردن پشتیبانی از اعداد فارسی */
.persian-number {
    font-family: "Vazir", "Tanha", sans-serif;
    direction: rtl;
    unicode-bidi: embed;
}

/* بهبود ظاهر فونت فارسی */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* بهبود ظاهر سیستم پیام رسانی */

#notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.notification {
    min-width: 250px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 8px;
    background-color: #333;
    color: #fff;
    font-size: 14px;
    text-align: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.success {
    background-color: #4caf50;
}
.notification.error {
    background-color: #f44336;
}
.notification.info {
    background-color: #2196f3;
}

/* استایل‌های جدید برای صفحه پروفایل */
/* .profile-content {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 2rem;
    min-height: calc(100vh - 120px);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
} */

.profile-details {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.profile-details::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        to right,
        var(--primary-color),
        var(--accent-color)
    );
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.form-input {
    padding: 0.9rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    font-family: var(--primary-font);
}

.form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
    background-color: #fff;
}

.form-input:disabled {
    background-color: #f1f1f1;
    cursor: not-allowed;
    opacity: 0.8;
}

.invalid-feedback {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.phone-input-container {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.phone-input-container .form-input {
    flex: 1;
}

.send-code-btn {
    background: linear-gradient(to right, var(--primary-color), #0088cc);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.send-code-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

.send-code-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.phone-group {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.2rem;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.phone-group.active {
    border-color: var(--primary-color);
    background-color: rgba(0, 174, 239, 0.05);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.save-btn {
    background: linear-gradient(to right, var(--primary-color), #0088cc);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

.cancel-btn {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #e9ecef;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cancel-btn:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

/* استایل‌های واکنش‌گرا */
@media (max-width: 768px) {
    .profile-content {
        padding: 1rem;
    }

    .profile-details {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .phone-input-container {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }

    .save-btn,
    .cancel-btn {
        width: 100%;
        justify-content: center;
    }
}

/* انیمیشن‌های جدید */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 1s infinite;
}

/* استایل‌های پیشرفته برای inputهای تأیید */
.otp-input-group {
    position: relative;
}

.otp-input-group .form-input {
    padding-right: 120px;
}

.otp-timer {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.85rem;
}

/* استایل برای وضعیت‌های مختلف */
.status-verified {
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.status-pending {
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* استایل‌های focus بهبود یافته */
.form-input:focus {
    transform: translateY(-2px);
}

/* استایل برای دکمه‌های وضعیت موبایل */
.mobile-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    padding: 0.8rem;
    border-radius: 8px;
    background-color: #f8f9fa;
}

/* استایل‌های سفارشی برای scrollbar در صورت نیاز */
.profile-content::-webkit-scrollbar {
    width: 8px;
}

.profile-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.profile-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.profile-content::-webkit-scrollbar-thumb:hover {
    background: #0088cc;
}

/* استایل بخش آمار و ارقام */
.salon-stats {
    display: flex;
    gap: 1.8rem;
    margin: 0.7rem 0;
    padding: 0.9rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.stat-item i {
    color: rgb(0, 123, 255);
        font-size: 1.1rem;
}

.stat-count {
    font-weight: 700;
    color: #333;
}

.stat-label {
    font-size: 0.85rem;
}

.salon-description {
    color: #555;
    line-height: 1.9;
    text-align: justify;
    font-size: 1rem;
}

.salon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0.7rem 0;
}

.tag {
    background-color: #f0f7ff;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #d1e9ff;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #e1f0ff;
    transform: translateY(-2px);
}

.salon-details {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 0.8rem 0;
    padding: 1.2rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.detail-item i {
    color: var(--primary-color);
    width: 22px;
    font-size: 1.1rem;
}

.action-buttons {
    margin-top: 1.2rem;
}

.btn {
    padding: 0.9rem 1.7rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--primary-font);
    font-size: 1.05rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(to left, var(--primary-color), #0088cc);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(0, 174, 239, 0.35);
}

.btn-large {
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
    width: 100%;
}

/* خطوط جداکننده بین بخش‌ها */
.section-divider {
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(0, 174, 239, 0.2),
        var(--primary-color),
        rgba(0, 174, 239, 0.2)
    );
    margin: 3rem auto;
    width: 85%;
    border-radius: 2px;
}

/* استایل واکنش‌گرا برای موبایل */
@media (max-width: 768px) {
    .salon-stats {
        gap: 1rem;
    }

    .stat-item {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }
}

/* استایل‌های دکمه فالو */
.btn-follow {
    background-color: #f6f6f6;
    color: var(--follow-color);
border: 2px solid var(--follow-color);
padding: 6px 16px;
border-radius: 10px;
font-weight: bold;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
cursor: pointer;
}

.btn-follow:hover {
    background: #9cffbd;
}

.btn-follow.following {
    background: #10b981;
    color: rgb(0, 0, 0);
    border-color: var(--follow-color);
}
.btn-follow.following i {
color:white;
}


.btn-follow .follow-text {
    display: inline;
}

.btn-follow .following-text {
    display: none;
}

.btn-follow.following .follow-text {
    display: none;
}

.btn-follow.following .following-text {
    display: inline;
    color:white;
}

/* استایل بخش مقالات */
.articles-section {
    padding: 2rem 0;
    margin: 2.5rem 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    max-width: 1200px; /* محدودیت عرض برای جلوگیری از کشیده شدن */
    margin-left: auto;
    margin-right: auto;
}

.articles-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #d4a373, #c99566);
    border-radius: 5px 5px 0 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1.2rem;
    margin-bottom: 2rem;
    max-height: 650px; /* ارتفاع حداکثر برای 4 مقاله */
    overflow: hidden; /* مخفی کردن مقالات اضافی */
}

/* نمایش 4 مقاله در یک ردیف در صفحه بزرگ */
@media (min-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* نمایش 2 مقاله در ردیف در صفحه متوسط */
@media (max-width: 1199px) and (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* نمایش 1 مقاله در ردیف در صفحه کوچک */
@media (max-width: 767px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}
/* فقط 4 مقاله نمایش داده شود */
.articles-grid .article-card:nth-child(n + 5) {
    display: none;
}

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.article-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.read-time {
    color: #888;
    font-size: 14px;
}

.view-more-container {
    text-align: center;
    margin-top: 2rem;
    padding: 0 1.2rem;
}

.view-more-btn {
    display: inline-block;
    background: linear-gradient(to right, #d4a373, #c99566);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
    background: linear-gradient(to right, #c99566, #d4a373);
}
.salon-stats {
    display: flex;
    align-items: center;
    gap: 20px; /* فاصله بین آیتم‌ها */
}

.follow-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-follow {
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.follow-section i {
    color: #007bff; /* آبی برای آیکون فالوور */
}

/* استایل‌های جدید برای بخش اطلاعات سالن */
.salon-info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

.form-row .full-width {
    flex: 100%;
}

.small-input {
    padding: 8px 12px;
    font-size: 0.9rem;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 100%;
    transition: all 0.3s ease;
}

.small-input:focus {
    border-color: #00aeef;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.address-field {
    resize: vertical;
    min-height: 60px;
}

/* استایل‌های combo input */
.combo-input-container {
    position: relative;
}

.combo-input {
    padding-right: 30px;
}

.combo-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.combo-option {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.combo-option:hover {
    background-color: #f0f8ff;
}

.combo-option.selected {
    background-color: #e6f7ff;
    font-weight: bold;
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .form-row .form-group {
        min-width: 100%;
    }

    .small-input {
        font-size: 16px; /* جلوگیری از زوم در iOS */
    }
}

.autocomplete-results {
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.autocomplete-item {
    padding: 8px;
    cursor: pointer;
}
.autocomplete-item:hover {
    background: #f0f0f0;
}

/* استایل بخش نظرات */
.review-form-container,
.reviews-list-container {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.review-form-title,
.reviews-list-title {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 700;
}

.review-form .form-group {
    margin-bottom: 20px;
}

.review-form .form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.review-form .form-control:focus {
    border-color: #00aeef;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.review-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.review-form .btn-primary {
    background: linear-gradient(to right, #00aeef, #0088cc);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.review-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

.review-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-date {
    font-size: 0.85rem;
    color: #888;
}

.stars {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.review-content p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-info {
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
    color: #0050b3;
}

.alert-warning {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    color: #ad6800;
}

.image-upload-container {
    margin-top: 15px;
}

.upload-area {
    border: 3px dashed var(--primary-color);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(0, 174, 239, 0.05);
    position: relative;
}

.upload-area:hover {
    background-color: rgba(0, 174, 239, 0.1);
    border-color: #0088cc;
}

.upload-area.dragover {
    background-color: rgba(0, 174, 239, 0.2);
    border-color: #0066cc;
    transform: scale(1.02);
}

.upload-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-content p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.upload-subtitle {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-details {
    margin-top: 20px;
}

.file-info {
    display: none;
    align-items: center;
    justify-content: space-between;
    background-color: #e8f8f0;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #27ae60;
}

.file-name {
    font-weight: 600;
    color: #27ae60;
}

.remove-file-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.remove-file-btn:hover {
    background-color: rgba(231, 76, 60, 0.1);
}

.image-preview-container {
    display: none;
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.preview-header span {
    font-weight: 600;
    color: #2c3e50;
}

.close-preview {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.close-preview:hover {
    background-color: rgba(108, 117, 125, 0.1);
}

.preview-content {
    padding: 20px;
    text-align: center;
}

.preview-content img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* استایل‌های تقویم */
.persian-date-container {
    position: relative;
    display: flex;
    align-items: center;
}

.persian-date-input {
    flex: 1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%2300AEEF" viewBox="0 0 16 16"><path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/><path d="M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4z"/></svg>');
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 16px;
    padding-left: 40px;
    cursor: pointer;
}

.date-picker-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: -1px;
}

.date-picker-btn:hover {
    background: #0088cc;
}

/* استایل‌های انتخاب زمان */
.time-picker-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-select {
    flex: 1;
    min-width: 80px;
}

.time-separator {
    font-weight: bold;
    color: #2c3e50;
}

.date-time-picker {
    transition: all 0.3s ease;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.bio-field {
    min-height: 250px;
}

/* استایل‌های نوتیفیکیشن */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* استایل‌های اسلاگ */
.slug-container {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.slug-prefix {
    padding: 10px 12px;
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 0.9rem;
    border-right: 1px solid #ddd;
    white-space: nowrap;
}

.slug-input {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 10px 12px;
}

.slug-input:focus {
    outline: none;
    box-shadow: none;
}

.slug-generate-btn {
    background-color: #f8f9fa;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.3s ease;
    border-left: 1px solid #ddd;
}

.slug-generate-btn:hover {
    background-color: #e9ecef;
    color: #495057;
}

.alert {
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    position: relative;
    transition: opacity 0.5s ease;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* استایل برای جلوگیری از نمایش حروف ناخواسته */
.pdatepicker-gui {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    direction: rtl !important;
    z-index: 9999 !important;
    position: absolute !important;
}

.pdatepicker-gui * {
    box-sizing: border-box;
    font-family: inherit !important;
}

.pdatepicker-gui .pdatepicker-date {
    text-align: center;
}

.pdatepicker-gui .pdatepicker-month,
.pdatepicker-gui .pdatepicker-year {
    font-family: inherit !important;
}

/* ردیف انتشار */
.publish-options {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.publish-options label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

/* ردیف تاریخ */
#publish-date-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* دکمه تقویم */
.date-picker-btn {
    padding: 6px 10px;
    background-color: #eee;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 4px;
}

.date-picker-btn i {
    pointer-events: none;
}

/* استایل بخش مقالات منتشر شده */
.published-articles-section {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.section-header p {
    color: #7f8c8d;
    font-size: 1rem;
}

.articles-table-container {
    overflow-x: auto;
}

.articles-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.articles-table th {
    background-color: #f8f9fa;
    padding: 1rem;
    text-align: right;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
}

.articles-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.article-title {
    font-weight: 500;
    color: #2c3e50;
}

.article-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
}

.article-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.published {
    background-color: #e8f8f0;
    color: #28a745;
}

.status-badge.draft {
    background-color: #fff8e8;
    color: #f39c12;
}

.article-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-edit,
.btn-delete {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.btn-edit {
    background-color: #e6f7ff;
    color: #00aeef;
}

.btn-edit:hover {
    background-color: #00aeef;
    color: white;
}

.btn-delete {
    background-color: #fce8e8;
    color: #e74c3c;
}

.btn-delete:hover {
    background-color: #e74c3c;
    color: white;
}

.delete-form {
    margin: 0;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ced4da;
}

.empty-state p {
    font-size: 1.1rem;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .published-articles-section {
        padding: 1rem;
        margin-top: 2rem;
    }

    .articles-table {
        font-size: 0.9rem;
    }

    .articles-table th,
    .articles-table td {
        padding: 0.7rem;
    }

    .article-actions {
        flex-direction: column;
        gap: 0.3rem;
    }

    .btn-edit,
    .btn-delete {
        width: 30px;
        height: 30px;
    }
}

/* استایل‌های بخش مقالات صفحه لیست مقالات */
:root {
    --primary-color: #00aeef;
    --secondary-color: #79708f34;
    --accent-color: #ffd700;
    --text-color: #333;
    --light-gray: #f1f1f1;
    --white: #fff;
    --black: #000;
    --error-color: #e74c3c;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --sidebar-bg: linear-gradient(135deg, #005f99 0%, #00aeef 100%);
    --tab-active: #e6f7ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Vazir", "Tanha", "Segoe UI", Tahoma, Geneva, Verdana,
        sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* گرید مقالات */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.article-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, var(--primary-color), #0088cc);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.4;
}

.article-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.article-date {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more {
    background: linear-gradient(45deg, var(--primary-color), #0088cc);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

/* صفحه‌بندی */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a {
    background-color: #f1f1f1;
    color: #555;
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary-color);
    color: white;
}

.pagination span {
    background-color: var(--primary-color);
    color: white;
}

/* وضعیت خالی */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #ced4da;
}

.empty-state p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.back-to-salon {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), #0088cc);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-salon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

/* فیلتر مقالات */
.articles-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-select {
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-family: inherit;
    cursor: pointer;
}


/* رسپانسیو */
@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .articles-filter {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .filter-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-box {
        width: 100%;
    }

    .page-header {
        padding: 1.5rem 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-card {
        max-width: 100%;
    }

    .pagination a,
    .pagination span {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* رفع مشکل نمایش مقالات */
.articles-grid {
    max-height: none !important;
    overflow: visible !important;
}

.articles-grid .article-card {
    display: flex !important;
}

/* حذف قاعده محدودکننده نمایش فقط ۴ مقاله */
.articles-grid .article-card:nth-child(n + 5) {
    display: flex !important;
}

/* صفحه مقاله */
.art-wrapper {
    margin: 2rem auto;
    max-width: 900px;
    line-height: 1.8;
    font-family: "IRANSans", sans-serif;
    color: #333;
}

.art-hero {
    display: flex;
    justify-content: center; /* مرکز کردن افقی */
    align-items: center; /* مرکز کردن عمودی (اگر ارتفاع مشخص باشد) */
    flex-direction: column; /* برای اینکه عناصر زیر هم باشند */
    text-align: center; /* مرکز کردن متن در صورت وجود */
}

.art-hero img {
    width: 50%;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.art-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #222;
}

.art-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 2rem;
}
.art-meta i {
    color: #3498db; /* آبی */
    margin-left: 0.4rem;
}

.art-body {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 2rem;
}

/* --- اکشن‌ها --- */
.art-actions {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.art-buttons {
    display: flex;
    gap: 1rem;
}
.art-btn {
    background: #f8f8f8;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.art-btn i {
    color: #3498db;
}
.art-btn:hover {
    background: #3498db;
    color: #fff;
}
.art-btn:hover i {
    color: #fff;
}

.art-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #555;
}
.art-stats i {
    color: #3498db;
}

/* --- نویسنده --- */
.art-author {
    margin-top: 3rem;
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 1rem;
}
.art-author-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #3498db;
}
.art-author-box {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.art-author-avatar img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #3498db;
}
.art-author-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
}
.art-author-bio {
    margin: 0.5rem 0;
    color: #666;
}
.art-author-stats .art-stat-item i {
    color: #3498db;
}

/* --- مقالات مرتبط --- */
.art-related {
    margin-top: 3rem;
}
.art-section-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
    color: #3498db;
}
.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.art-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    max-width: 30%;
}
.art-card:hover {
    transform: translateY(-5px);
}
.art-card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.art-card-body {
    padding: 1rem;
}
.art-card-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.art-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}
.art-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.art-card-meta i {
    color: #3498db;
}
.art-readmore {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}
.art-readmore:hover {
    color: #217dbb;
}

/* --- ریسپانسیو --- */
@media (max-width: 600px) {
    .art-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    .art-author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* --- صفحه اختصاصی مقاله --- */
.blog-section {
    position: relative; /* برای ::before */
    padding: 60px 0;
    background-color: #f9f9f9;
    border-radius: 20px; /* حاشیه گرد کل بخش */
    overflow: hidden; /* جلوگیری از بیرون زدگی خط گرادیان */
}

/* خط بالای گرادیانتی */
.blog-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px; /* ضخامت خط باریک‌تر شد */
    background: linear-gradient(
        90deg,
        #ffd700,
        #ffa500
    ); /* زرد تا نارنجی گرادیانتی */
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative; /* بالای ::before */
    z-index: 1; /* مطمئن شو متن روی خط باشه */
}

.blog-title h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

.blog-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.blog-card {
    background: #fff;
    border-radius: 15px; /* حاشیه گرد کارت‌ها */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-info {
    padding: 20px;
}

.blog-card-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #222;
}

.blog-card-info p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.blog-card-meta {
    text-align: right;
}

.blog-btn {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(
        90deg,
        #6cb8ff,
        #3399ff
    ); /* آبی کم‌رنگ گرادیانتی */
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.blog-btn:hover {
    background: linear-gradient(
        90deg,
        #3399ff,
        #6cb8ff
    ); /* معکوس گرادیانت هنگام هاور */
    transform: translateY(-2px); /* کمی بالاتر رفتن هنگام هاور */
}

.blog-empty {
    text-align: center;
    color: #777;
    font-size: 1rem;
}

.blog-view-more {
    text-align: center;
    margin-top: 40px;
}

.blog-view-more-btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(
        90deg,
        #6cb8ff,
        #3399ff
    ); /* آبی کم‌رنگ گرادیانتی */
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.blog-view-more-btn:hover {
    background: linear-gradient(90deg, #ffa500, #ffd700); /* گرادیانت هاور */
    color: #0056b3; /* آبی تیره برای متن هنگام هاور */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* سایه برای جلوه بیشتر */
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/*استایل نظرات در قسمت پنل حرفه ای آرایشگاه*/
.comment-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
}

.comment-reply {
    margin-right: 50px;
    background: #f8f9fa;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-user {
    font-weight: bold;
    color: #333;
}

.comment-date {
    color: #6c757d;
    font-size: 0.9em;
}

.comment-rating {
    color: #ffc107;
}

.comment-text {
    color: #495057;
    line-height: 1.6;
}

.owner-reply {
    background: #e8f5e8;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    border-right: 3px solid #28a745;
}

.comment-actions {
    margin-top: 10px;
}

.badge-success {
    background-color: #28a745;
}
.badge-danger {
    background-color: #dc3545;
}
.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

/* Pagination Styles */
.pagination {
    justify-content: center;
    margin-top: 30px;
}

.page-item {
    margin: 0 4px;
}

.page-link {
    border-radius: 8px !important;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    color: var(--primary-color);
    font-weight: 500;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-link:hover {
    color: var(--secondary-color);
    background-color: #f3f4f6;
    border-color: #e5e7eb;
}

.stars {
    color: #fbbf24;
    margin-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-card {
        padding: 20px;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .comment-header > div {
        margin-bottom: 10px;
    }
}

/* صفحه پنل آرایشگر حرفه ای قسمت مقالات  */
.edit-article-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: auto;
}

/* تیتر */
.edit-article-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #0d47a1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* فرم */
.edit-article-form label {
    font-weight: bold;
    color: #0d47a1;
    margin-bottom: 6px;
    display: block;
}

.edit-article-input,
.edit-article-textarea {
    width: 100%;
    border: 1px solid #90caf9;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    transition: border 0.3s;
}

.edit-article-input:focus,
.edit-article-textarea:focus {
    border-color: #0d47a1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.2);
}

/* تصویر فعلی */
.edit-article-current-img img {
    max-width: 100%;
    border-radius: 12px;
    margin: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.edit-article-hint {
    font-size: 12px;
    color: #666;
}

/* آپلود */
.edit-article-upload-area {
    border: 2px dashed #90caf9;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.edit-article-upload-area:hover {
    background: #e3f2fd;
    border-color: #0d47a1;
}

.edit-article-file {
    display: none;
}

/* اطلاعات فایل */
.edit-article-file-info {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #0d47a1;
}

.remove-file-btn {
    background: none;
    border: none;
    color: #e53935;
    cursor: pointer;
    font-size: 16px;
}

/* پیش‌نمایش */
.edit-article-preview {
    margin-top: 16px;
    border: 1px solid #90caf9;
    border-radius: 12px;
    overflow: hidden;
}

.preview-header {
    background: #0d47a1;
    color: #fff;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-content img {
    width: 100%;
    display: block;
}

/* دکمه‌ها */
.edit-article-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.edit-article-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.edit-article-btn.save {
    background: #0d47a1;
    color: #fff;
    border: none;
}

.edit-article-btn.save:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

.edit-article-btn.cancel {
    background: #e3f2fd;
    color: #0d47a1;
}

.edit-article-btn.cancel:hover {
    background: #bbdefb;
}

/* استایل‌های مخصوص صفحه سالن */
.salon-page-container {
    margin-top: 50px;
    padding-top: 20px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* استایل‌های هدر */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    padding-top: 80px;
}

/*استایل لوگو سایت */
.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-text {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: #333;
    margin: 0;
    position: relative;
    padding-left: 40px;
    transition: color 0.3s ease;

    white-space: nowrap; /* جلوگیری از رفتن به خط بعد */
    overflow: hidden; /* مخفی کردن بخش اضافی */
    text-overflow: ellipsis; /* نمایش ... در صورت طولانی بودن متن */
}

/* ایجاد یک آیکون تزئینی ساده با CSS (مثلاً یک قیچی یا شانه) */
.logo-text::before {
    content: "✂️"; /* یا "💇" یا "🧔" */
    /* اگر می‌خواهید آیکون SVG یا فونت آیکون استفاده کنید، این خط را حذف کنید */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    opacity: 0.8;
}

.logo-link:hover .logo-text {
    color: #007bff; /* تغییر رنگ متن به آبی */
}

.logo-link:hover .logo-text::before {
    animation: bounce 0.5s ease; /* انیمیشن برای آیکون */
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-60%);
    }
}

/*استایل های صفحه اصلی */
/* فونت‌ها */
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap");

/* استایل‌های پایه */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f8f9fa;
    color: #333;
    font-family: "Vazirmatn", sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.salons-section {
    clear: both;
    overflow: hidden;
}

/* هدر بخش‌ها */
.section-header {
    text-align: center;
    margin: 15px 0 20px 0; /* کاهش فاصله بالا و پایین */
    padding: 15px 0; /* کاهش padding */
    clear: both;
    position: relative;
}

.section-title {
    font-size: 1.8rem; /* کمی کوچکتر */
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px; /* کاهش فاصله */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    font-size: 1rem; /* کمی کوچکتر */
    color: #6b7280;
    font-weight: 400;
    margin-bottom: 5px;
}

/* گرید کارت‌ها */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px; /* کاهش فاصله */
    margin: 15px 0; /* کاهش فاصله */
    clear: both;
}

/* جداکننده بخش‌ها */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0; /* کاهش فاصله */
    clear: both;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, #c4b5fd, transparent);
}

.divider-icon {
    margin: 0 15px;
    font-size: 1.5rem;
    color: #8b5cf6;
}

/* دکمه بارگذاری بیشتر */
.load-more-wrapper {
    text-align: center;
    margin: 25px 0; /* کاهش فاصله */
    clear: both;
}

.load-more-btn {
    /* background: linear-gradient(135deg, #8b5cf6, #6d28d9); */
    background: linear-gradient(135deg, #a7c5ff, #5fa8ff);

    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 25px; /* کاهش سایز */
    font-size: 0.9rem; /* کاهش سایز فونت */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77, 171, 247, 0.6); /* پررنگ‌تر */
    position: relative;
    overflow: hidden;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35); /* آبی لایت */
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.load-more-btn:disabled:hover {
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
}

.btn-loader {
    font-weight: 500;
}

/* انیمیشن برای کارت‌های جدید */
.cards-grid > * {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* رسپانسیو */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .section-title {
        font-size: 1.5rem; /* کاهش بیشتر در موبایل */
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 15px; /* کاهش فاصله در موبایل */
    }

    .load-more-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .section-header {
        margin: 10px 0 15px 0; /* کاهش بیشتر در موبایل */
        padding: 10px 0;
    }

    .section-divider {
        margin: 20px 0;
    }

    .load-more-wrapper {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .section-divider {
        margin: 15px 0;
    }
}

/* رفع مشکلات موقعیت‌یابی احتمالی */
.salons-section::after {
    content: "";
    display: table;
    clear: both;
}

/* اطمینان از عدم تداخل با floatها */
#salons-container,
#hairdressers-container {
    float: none;
    clear: both;
}

/*استایل مخصوص صفحه نمایش همه سالن ها*/
/*------------------------
  متغیرهای پایه و رنگ‌ها
------------------------*/
:root {
    --beauty-primary-color: #00a6e8;
    --beauty-primary-dark: #8b5cf6;
    --beauty-secondary-color: #f0f9ff;
    --beauty-text-dark: #374151;
    --beauty-text-light: #6b7280;
    --beauty-white: #ffffff;
    --beauty-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --beauty-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --beauty-border-radius: 12px;
    --beauty-transition: all 0.25s ease;
}

/*------------------------
  کانتینر گرید
------------------------*/
.beauty-salons-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* دسکتاپ: 4 ستون */
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    align-items: stretch;
}

/*------------------------
  کارت سالن
------------------------*/
.beauty-salon-card {
    background: var(--beauty-white);
    border-radius: var(--beauty-border-radius);
    overflow: hidden;
    box-shadow: var(--beauty-shadow);
    transition: var(--beauty-transition);
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.beauty-salon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--beauty-shadow-hover);
}

/* لینک کل کارت */
.beauty-salon-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/*------------------------
  تصویر کاور
------------------------*/
.beauty-salon-image {
    position: relative;
    height: 160px;
    overflow: hidden;
    flex-shrink: 0;
}

.beauty-salon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--beauty-transition);
}

.beauty-salon-card:hover .beauty-salon-image img {
    transform: scale(1.04);
}

/* دکمه نشان‌گذاری */
.beauty-bookmark-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--beauty-transition);
}

.beauty-bookmark-btn i {
    color: #fff;
    font-size: 16px;
}

.beauty-bookmark-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/*------------------------
  اطلاعات سالن
------------------------*/
.beauty-salon-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.beauty-salon-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.beauty-salon-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--beauty-text-dark);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.beauty-salon-rating {
    text-align: right;
    min-width: 68px;
}

.beauty-stars i {
    color: #fbbf24;
    margin-left: 3px;
    font-size: 0.98rem;
}

.beauty-rating-number {
    display: block;
    font-size: 0.78rem;
    color: var(--beauty-text-light);
    margin-top: 4px;
}

/* موقعیت و آدرس */
.beauty-salon-location {
    margin-top: auto;
}

.beauty-location-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--beauty-text-light);
    margin-bottom: 6px;
}

.beauty-location-item i {
    color: var(--beauty-primary-color);
    font-size: 0.95rem;
}

/*------------------------
  دکمه مشاهده بیشتر
------------------------*/
.beauty-load-more-container {
    display: flex;
    justify-content: center;
    margin: 30px 0 60px;
}

.beauty-load-more-btn {
    background: #0756f8;
    color: var(--beauty-white);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: var(--beauty-transition);
}

.beauty-load-more-btn:hover {
    background: var(--beauty-primary-dark);
    transform: translateY(-2px);
}

/*------------------------
  واکنش‌گرایی
------------------------*/
@media (max-width: 1024px) {
    .beauty-salons-container {
        grid-template-columns: repeat(2, 1fr); /* تبلت: 2 ستون */
        gap: 18px;
        padding: 16px;
    }
    .beauty-salon-image {
        height: 150px;
    }
}

@media (max-width: 600px) {
    .beauty-salons-container {
        grid-template-columns: 1fr; /* موبایل: 1 ستون */
        gap: 12px;
        padding: 10px;
        /* margin-top: 90px; */
    }
    .beauty-salon-image {
        height: 140px;
    }
    .beauty-salon-header h3 {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* استایل بخش خدمات سالن */
.salon-services-section {
    padding: 40px 0;
    background: #fff;
    position: relative;
    margin-bottom: 40px;
    border-radius: 20px; /* اضافه شد */
    overflow: hidden; /* اگر بخواهید محتوا هم داخل گوشه‌ها باشد */
}

/* خط بالای کل بخش - طلایی */
.salon-services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: #ffd700;
}

.services-section-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-top: 15px;
}

.services-section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding: 0 15px;
    text-align: center;
}

/* اسکرول افقی */
.services-horizontal-scroll {
    overflow-x: auto;
    padding: 20px 0;
    margin: 0 -15px;
}

.services-horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}

.services-horizontal-scroll::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
    margin: 0 15px;
}

.services-horizontal-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(to right, #ffd700, #ffed4e);
    border-radius: 4px;
}

.services-horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to right, #e6c200, #ffd700);
}

.services-items-wrapper {
    display: flex;
    gap: 30px;
    padding: 0 15px;
    min-width: max-content;
}

/* آیتم‌های خدمات - طراحی جدید */
.service-card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 280px;
    max-width: 280px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    transition: all 0.3s ease;
    border: none;
    box-shadow: none;
    position: relative;
    overflow: visible;
    text-align: center;
    flex-shrink: 0;
}

/* خط جداکننده بین سرویس‌ها */
.service-card-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 80%;
    background: linear-gradient(
        to bottom,
        transparent,
        #ffd700,
        #ffed4e,
        #ffd700,
        transparent
    );
}

.service-card-item:hover {
    transform: translateY(-5px);
}

/* کانتینر تصویر - دایره بزرگ با حاشیه خاکستری */
.service-image-container {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 10px solid #f5f5f5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 0 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    background: #f5f5f5;
}

.service-card-item:hover .service-image-container {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 0 15px rgba(0, 0, 0, 0.05);
    border-color: #e8e8e8;
}

.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.service-card-item:hover .service-image-container img {
    transform: scale(1.1);
}

/* جزئیات سرویس - طراحی جدید */
.service-details {
    text-align: center;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-details h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    color: #2d3748;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    display: inline-block;
    width: fit-content;
}

.service-details p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    padding: 15px;
    background: rgba(245, 245, 245, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: visible;
    backdrop-filter: blur(5px);
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    /* حذف تمام محدودیت‌های ارتفاع و خطوط */
    min-height: auto;
    max-height: none;
    display: block;
    -webkit-line-clamp: none;
    -webkit-box-orient: horizontal;
}

.no-services-message {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-top: 20px;
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .service-card-item {
        min-width: 260px;
        max-width: 260px;
    }

    .service-image-container {
        width: 150px;
        height: 150px;
        margin-bottom: 18px;
    }

    .service-details h3 {
        font-size: 1rem;
    }

    .service-details p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .services-items-wrapper {
        gap: 25px;
        padding: 0 10px;
    }

    .service-card-item {
        min-width: 240px;
        max-width: 240px;
    }

    .service-image-container {
        width: 140px;
        height: 140px;
        margin-bottom: 15px;
        border-width: 8px;
    }

    .service-details h3 {
        font-size: 0.95rem;
        margin-bottom: 10px;
        padding: 8px 16px;
    }

    .service-details p {
        font-size: 0.8rem;
        line-height: 1.5;
        padding: 12px 10px;
    }

    /* در موبایل خطوط جداکننده را حذف می‌کنیم */
    .service-card-item:not(:last-child)::after {
        display: none;
    }
}

/* انیمیشن ورود */
@keyframes serviceItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-item {
    animation: serviceItemFadeIn 0.5s ease forwards;
}

.service-card-item:nth-child(2) {
    animation-delay: 0.1s;
}
.service-card-item:nth-child(3) {
    animation-delay: 0.2s;
}
.service-card-item:nth-child(4) {
    animation-delay: 0.3s;
}
.service-card-item:nth-child(5) {
    animation-delay: 0.4s;
}
.service-card-item:nth-child(6) {
    animation-delay: 0.5s;
}

/*استایل بخش شبکه های اجتماعی در سالن*/
.social-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.social-link-item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    color: #333;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
    min-height: 50px;
}

.social-link-item:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-icon {
    margin-left: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.social-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.social-platform {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
    color: #495057;
}

.social-url {
    color: #6c757d;
    text-decoration: none;
    font-size: 11px;
    word-break: break-all;
    transition: color 0.2s ease;
    line-height: 1.3;
}

.social-url:hover {
    color: #495057;
    text-decoration: underline;
}

/* رنگ‌های خاص برای هر آیکون */
.fa-instagram {
    color: #e4405f;
}

.fa-telegram {
    color: #0088cc;
}

.fa-comment {
    color: #25d366;
}

.fa-link {
    color: #6c757d;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .social-links-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .social-link-item {
        padding: 6px 10px;
        min-height: 45px;
    }

    .social-icon {
        font-size: 14px;
        margin-left: 8px;
    }

    .social-platform {
        font-size: 12px;
    }

    .social-url {
        font-size: 10px;
    }
}

/* استایل‌های پایه برای منوها و دکمه‌ها */
.main-nav ul li a {
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.main-nav ul li a.active,
.main-nav ul li a:hover {
    /* رنگ آبی روشن و زنده */
    background-color: #1e90ff; /* DodgerBlue */
    color: white;
    transition: background-color 0.3s ease; /* برای حرکت نرم */
}

/* استایل برای دکمه‌ها */
.auth-buttons .btn {
    position: relative;
    transition: all 0.3s ease;
}

.auth-buttons .btn.active {
    background-color: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

/* استایل برای دکمه پشتیبانی */
.btn-support {
    background-color: #697571;
    color: white;
}

.btn-support:hover,
.btn-support.active {
    background-color: #131414;
}

.salon-main-image {
    width: 520px;
    height: 320px;
    flex-shrink: 0;
    border-radius: 12px; /* گوشه‌های گرد */
    overflow: hidden; /* جلوگیری از بیرون زدن تصویر */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; /* اضافه شد برای انیمیشن بزرگ شدن کل div */
}

.salon-main-image:hover {
    transform: scale(1.05); /* بزرگ شدن کل div هنگام هاور */
}

.salon-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* تصویر در بالا متمرکز */
}

/* استایل‌های پنل مدیریت زمان در پنل سالن حرفه ای */
.schedule-panel {
    padding: 20px;
    background: #f8f9fa;
    min-height: 100vh;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-title {
    color: #1976d2;
    font-size: 1.5rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-description {
    color: #666;
    margin: 0;
}
/*
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
} */

.btn-primary {
    background: #1976d2;
    color: white;
}

.btn-primary:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #1976d2;
    color: #1976d2;
}

.btn-outline:hover {
    background: #1976d2;
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-icon {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: #e3f2fd;
    color: #1976d2;
}

.btn-edit:hover {
    background: #1976d2;
    color: white;
    transform: scale(1.05);
}

.btn-delete {
    background: #ffebee;
    color: #f44336;
}

.btn-delete:hover {
    background: #f44336;
    color: white;
    transform: scale(1.05);
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1976d2;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-info h3 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-info p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 0.9rem;
}

.tabs-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.tabs-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.nav-tabs {
    display: flex;
    padding: 0 20px;
    gap: 5px;
}

.nav-tab {
    padding: 15px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-tab.active {
    color: #1976d2;
    border-bottom-color: #1976d2;
    background: white;
    font-weight: 600;
}

.nav-tab:hover {
    color: #1976d2;
    background: #f0f7ff;
    border-bottom-color: #1976d2;
}

.tabs-content {
    padding: 0;
}

.tab-pane {
    display: none;
    padding: 30px;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.tab-header h2 {
    color: #333;
    margin: 0;
    font-size: 1.4rem;
}

.provider-selector-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.provider-selector {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 14px;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.provider-selector:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.provider-selector:hover {
    border-color: #1976d2;
}

.schedule-table-container {
    overflow-x: auto;
    margin: 0 -30px;
    padding: 0 30px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 800px;
}

.schedule-table.current-schedule {
    min-width: 700px;
}

.schedule-table th {
    background: #f8f9fa;
    padding: 18px 15px;
    text-align: center;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
    font-size: 14px;
    white-space: nowrap;
    vertical-align: middle;
}

.schedule-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    text-align: center;
    vertical-align: middle;
}

.schedule-table tr:hover td {
    background: #f8fafc;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.day-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
}

.day-info strong {
    color: #333;
    font-size: 14px;
}

.day-number {
    font-size: 12px;
    color: #666;
}

.time-slot {
    padding: 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid;
    min-height: 50px;
    text-align: center;
}

.time-slot.active {
    background: #e8f5e8;
    border-color: #4caf50;
}

.time-slot.inactive {
    background: #ffebee;
    border-color: #f44336;
}

.time-slot:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.time {
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #4caf50;
    color: white;
}

.badge-warning {
    background: #ff9800;
    color: white;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
}

.status-open {
    color: #4caf50;
}

.status-closed {
    color: #f44336;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-open .status-dot {
    background: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

.status-closed .status-dot {
    background: #f44336;
    box-shadow: 0 0 8px rgba(244, 67, 54, 0.4);
}

.actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.provider-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1976d2;
}

.provider-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.provider-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.provider-info {
    flex: 1;
}

.provider-info h3 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.provider-info p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 0.85rem;
}

.provider-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #4caf50;
    font-weight: 600;
}

.provider-status i {
    font-size: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.provider-schedule {
    margin: 20px 0;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.schedule-item:hover {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 10px;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .day {
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.times {
    display: flex;
    gap: 6px;
}

.time-badge {
    background: #e3f2fd;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #1976d2;
    border: 1px solid #bbdefb;
    transition: all 0.2s ease;
}

.time-badge:hover {
    background: #1976d2;
    color: white;
    transform: scale(1.05);
}

.provider-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.exceptions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.exception-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-right: 4px solid;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.exception-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.full-exception {
    border-right-color: #f44336;
}

.partial-exception {
    border-right-color: #ff9800;
}

.exception-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.exception-item:hover .exception-icon {
    transform: scale(1.1);
}

.full-exception .exception-icon {
    color: #f44336;
    background: #ffebee;
}

.partial-exception .exception-icon {
    color: #ff9800;
    background: #fff3e0;
}

.exception-content {
    flex: 1;
}

.exception-content h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 1.1rem;
}

.exception-details {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.exception-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.exception-actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 1200px) {
    .schedule-panel {
        padding: 15px;
    }

    .providers-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 1024px) {
    .schedule-table-container {
        margin: 0 -20px;
        padding: 0 20px;
    }

    .nav-tabs {
        padding: 0 15px;
    }

    .tab-pane {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .schedule-panel {
        padding: 10px;
    }

    .panel-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-bottom: 20px;
        padding: 20px;
    }

    .header-actions {
        width: 100%;
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .page-title {
        font-size: 1.3rem;
    }

    .stats-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .stat-info h3 {
        font-size: 1.5rem;
    }

    .tabs-container {
        border-radius: 8px;
    }

    .nav-tabs {
        flex-direction: column;
        gap: 5px;
        padding: 15px;
    }

    .nav-tab {
        padding: 15px;
        justify-content: center;
        border-bottom: none;
        border-right: 3px solid transparent;
        border-radius: 8px;
    }

    .nav-tab.active {
        border-right-color: #1976d2;
        border-bottom: none;
    }

    .tab-pane {
        padding: 20px 15px;
    }

    .tab-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .tab-header h2 {
        font-size: 1.2rem;
    }

    .tab-header .btn {
        width: 100%;
        justify-content: center;
    }

    .provider-selector-container {
        width: 100%;
    }

    .provider-selector {
        width: 100%;
        min-width: auto;
    }

    .schedule-table-container {
        margin: 0 -15px;
        padding: 0 15px;
    }

    .schedule-table {
        min-width: 700px;
        font-size: 13px;
    }

    .schedule-table.current-schedule {
        min-width: 600px;
    }

    .schedule-table th {
        padding: 15px 10px;
        font-size: 13px;
    }

    .schedule-table td {
        padding: 12px 8px;
    }

    .time-slot {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
        text-align: center;
    }

    .time {
        font-size: 12px;
    }

    .badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .actions {
        flex-direction: column;
        gap: 5px;
    }

    .btn-icon {
        width: 32px;
        height: 32px;
    }

    .providers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .provider-card {
        padding: 20px;
    }

    .provider-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .provider-status {
        margin-right: 0;
        justify-content: center;
    }

    .provider-actions {
        flex-direction: row;
        justify-content: center;
    }

    .provider-actions .btn {
        flex: 1;
        justify-content: center;
    }

    .exception-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .exception-details {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .exception-actions {
        justify-content: center;
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid #e0e0e0;
    }
}

@media (max-width: 480px) {
    .schedule-panel {
        padding: 5px;
    }

    .panel-header {
        padding: 15px;
        margin-bottom: 15px;
    }

    .page-title {
        font-size: 1.2rem;
    }

    .page-description {
        font-size: 0.9rem;
    }

    .stats-cards {
        gap: 12px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .stat-info h3 {
        font-size: 1.4rem;
    }

    .stat-info p {
        font-size: 0.8rem;
    }

    .tab-pane {
        padding: 15px 10px;
    }

    .nav-tab {
        padding: 12px 15px;
        font-size: 13px;
    }

    .schedule-table {
        min-width: 650px;
    }

    .schedule-table.current-schedule {
        min-width: 550px;
    }

    .schedule-table th {
        padding: 12px 6px;
        font-size: 12px;
    }

    .schedule-table td {
        padding: 10px 6px;
        font-size: 11px;
    }

    .day-info strong {
        font-size: 12px;
    }

    .day-number {
        font-size: 10px;
    }

    .time-slot {
        padding: 8px;
        min-height: 45px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    .btn-sm {
        padding: 5px 10px;
        font-size: 11px;
    }

    .provider-card {
        padding: 15px;
    }

    .provider-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .schedule-item {
        padding: 8px 0;
    }

    .schedule-item:hover {
        padding: 8px;
    }

    .time-badge {
        padding: 4px 8px;
        font-size: 10px;
    }

    .exception-item {
        padding: 15px;
    }

    .exception-icon {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .exception-content h4 {
        font-size: 1rem;
    }

    .exception-details span {
        font-size: 12px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .panel-header {
        flex-direction: row;
        text-align: right;
    }

    .stats-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .nav-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-table th,
    .schedule-table td {
        padding: 15px 12px;
    }

    .schedule-table-container {
        margin: 0 -25px;
        padding: 0 25px;
    }
}

.schedule-table-container::-webkit-scrollbar {
    height: 8px;
}

.schedule-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.schedule-table-container::-webkit-scrollbar-thumb {
    background: #1976d2;
    border-radius: 10px;
}

.schedule-table-container::-webkit-scrollbar-thumb:hover {
    background: #1565c0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stat-card,
.provider-card,
.exception-item {
    animation: slideIn 0.5s ease-out;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #1976d2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .nav-tabs {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding: 10px 15px;
        gap: 5px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        background: #f8f9fa;
        border-radius: 12px 12px 0 0;
    }

    .nav-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .nav-tabs::-webkit-scrollbar-track {
        background: #e9ecef;
        border-radius: 10px;
    }

    .nav-tabs::-webkit-scrollbar-thumb {
        background: #1976d2;
        border-radius: 10px;
    }

    .nav-tab {
        flex: 0 0 auto;
        padding: 12px 15px;
        border: none;
        border-radius: 8px;
        background: white;
        color: #666;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        transition: all 0.3s ease;
        font-size: 12px;
        font-weight: 500;
        min-width: 70px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        border: 1px solid #e0e0e0;
    }

    .nav-tab.active {
        color: #1976d2;
        background: #e3f2fd;
        border-color: #1976d2;
        font-weight: 600;
        box-shadow: 0 4px 8px rgba(25, 118, 210, 0.2);
    }

    .nav-tab:hover {
        color: #1976d2;
        background: #f0f7ff;
        transform: translateY(-2px);
    }

    .nav-tab i {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .nav-tab .tab-text {
        font-size: 10px;
        text-align: center;
        line-height: 1.2;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-tab.active .tab-text {
        max-height: 20px;
    }
}

@media (max-width: 480px) {
    .nav-tab {
        padding: 10px 12px;
        min-width: 60px;
    }

    .nav-tab i {
        font-size: 16px;
    }

    .nav-tab .tab-text {
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .nav-tabs {
        display: flex;
        flex-direction: row;
        overflow-x: hidden;
        padding: 10px 15px;
        gap: 5px;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        background: #f8f9fa;
        border-radius: 12px 12px 0 0;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .nav-tab {
        flex: 1;
        padding: 12px 8px;
        border: none;
        border-radius: 8px;
        background: white;
        color: #666;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        transition: all 0.3s ease;
        font-size: 11px;
        font-weight: 500;
        min-width: auto;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        border: 1px solid #e0e0e0;
        text-align: center;
        overflow: hidden;
    }

    .nav-tab.active {
        color: #1976d2;
        background: #e3f2fd;
        border-color: #1976d2;
        font-weight: 600;
        box-shadow: 0 4px 8px rgba(25, 118, 210, 0.2);
    }

    .nav-tab:hover {
        color: #1976d2;
        background: #f0f7ff;
        transform: translateY(-2px);
    }

    .nav-tab i {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .nav-tab .tab-text {
        font-size: 9px;
        text-align: center;
        line-height: 1.2;
        display: block;
        white-space: normal;
        word-break: break-word;
        max-height: none;
    }
}

@media (max-width: 480px) {
    .nav-tab {
        padding: 10px 6px;
        font-size: 10px;
    }

    .nav-tab i {
        font-size: 14px;
    }

    .nav-tab .tab-text {
        font-size: 8px;
    }
}

@media (max-width: 360px) {
    .nav-tabs {
        gap: 3px;
        padding: 8px 10px;
    }

    .nav-tab {
        padding: 8px 4px;
        font-size: 9px;
    }

    .nav-tab i {
        font-size: 12px;
    }

    .nav-tab .tab-text {
        font-size: 7px;
    }
}

@media (max-width: 768px) {
    .schedule-table-container {
        overflow-x: hidden;
        margin: 0 -15px;
        padding: 0 15px;
    }

    .schedule-table {
        width: 100%;
        min-width: auto;
        display: block;
    }

    .schedule-table.current-schedule {
        min-width: auto;
    }
}

/* استایل‌های پنل حرفه ای قسمت ایجاد آرایشگر در سالن */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideIn 0.5s ease;
}

.step-content {
    padding: 20px 0;
}

/* نوار پیشرفت */
.progress-container {
    margin-bottom: 30px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}

.progress-steps::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e8f4fc;
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 15px;
    left: 10%;
    height: 3px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    z-index: 2;
    transition: width 0.3s ease;
    width: 0%;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    flex: 1;
    max-width: 33.333%;
}

.step-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e8f4fc;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 2px solid #e8f4fc;
}

.step-item.active .step-number {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #3498db;
}

.step-item.completed .step-number {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}

.step-title {
    font-size: 0.85rem;
    color: #7f8c8d;
    text-align: center;
    font-weight: 500;
}

.step-item.active .step-title {
    color: #3498db;
    font-weight: 600;
}

.step-item.completed .step-title {
    color: #27ae60;
}

/* تایمر */
.timer-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#resend-btn {
    font-size: 0.8rem;
    text-decoration: none;
}

#resend-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* استایل‌های اصلی با تم آبی */
.custom-form-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
    background: #ffffff;
}

.custom-form-header {
    background: linear-gradient(135deg, #3498db 0%, #1a5276 100%);
    color: white;
    border-bottom: none;
    padding: 25px 30px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-section i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.9);
}

.card-title {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.btn-back {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
    color: white;
    text-decoration: none;
}

/* استایل فرم */
.form-container {
    padding: 30px;
}

.form-header-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8f4fc;
}

.form-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.form-title h3 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.6rem;
}

.form-title p {
    margin: 0;
    color: #7f8c8d;
    font-size: 1rem;
}

/* گرید فرم */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.full-width {
    grid-column: 1 / -1;
}

/* استایل گروه‌های فرم */
.custom-form-group {
    position: relative;
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.required-star {
    color: #e74c3c;
    margin-right: 5px;
}

.optional-text {
    color: #7f8c8d;
    font-size: 0.85rem;
    font-weight: normal;
}

/* استایل جدید برای فیلدها با آیکون */
.input-with-icon,
.textarea-with-icon {
    position: relative;
    width: 100%;
}

.input-with-icon .custom-input,
.textarea-with-icon .custom-textarea {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e8f4fc;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
    height: auto;
    box-sizing: border-box;
    font-family: inherit;
}

.textarea-with-icon .custom-textarea {
    padding: 15px 20px 15px 50px;
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.input-icon-fixed,
.textarea-icon-fixed {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #3498db;
    font-size: 1.1rem;
    z-index: 2;
    pointer-events: none;
}

.textarea-icon-fixed {
    top: 25px;
    transform: none;
}

/* استایل فوکوس */
.input-with-icon .custom-input:focus,
.textarea-with-icon .custom-textarea:focus {
    border-color: #3498db;
    background: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
    outline: none;
    padding-left: 50px;
}

/* اطمینان از نمایش صحیح placeholder و متن */
.custom-input::placeholder,
.custom-textarea::placeholder {
    color: #a0a0a0;
    opacity: 1;
    font-family: inherit;
}

.custom-input,
.custom-textarea {
    color: #2c3e50;
    font-family: inherit;
}

/* شمارشگر کاراکتر */
.char-counter {
    text-align: left;
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 5px;
}

/* راهنما */
.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* استایل دکمه‌ها */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    padding-top: 30px;
    border-top: 2px solid #e8f4fc;
    flex-wrap: wrap;
}

.btn-submit,
.btn-cancel {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-submit {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
    color: white;
    background: linear-gradient(135deg, #2980b9 0%, #2471a3 100%);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-cancel {
    background: #95a5a6;
    color: white;
}

.btn-cancel:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
    color: white;
}

/* استایل آلرت */
.custom-alert {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 20px 25px;
}

.alert-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert-content i {
    font-size: 1.3rem;
    margin-top: 2px;
}

.alert-danger .alert-content i {
    color: #e74c3c;
}

.alert-success .alert-content i {
    color: #27ae60;
}

.alert-danger ul {
    padding-right: 20px;
}

.alert-danger li {
    margin-bottom: 5px;
}

/* استایل‌های بخش کاربر موجود */
.user-options-section {
    border: 2px solid #28a745 !important;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%) !important;
    animation: slideIn 0.5s ease;
}

.user-info-preview {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.user-info-preview h6 {
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    font-weight: 700;
}

.action-buttons .btn-success {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.action-buttons .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.action-buttons .btn-outline-primary {
    padding: 10px 25px;
    border-radius: 50px;
    border-width: 2px;
}

/* استایل‌های ریسپانسیو برای بخش کاربر موجود */
@media (max-width: 768px) {
    .user-options-section {
        padding: 15px !important;
    }

    .user-info-preview {
        padding: 15px;
    }

    .action-buttons .btn-success,
    .action-buttons .btn-outline-primary {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* انیمیشن‌های اضافی */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.btn-success:active {
    animation: pulse 0.3s ease;
}

/* استایل برای حالت لودینگ */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0 10px;
    }

    .custom-form-card {
        border-radius: 15px;
        margin-bottom: 20px;
    }

    .custom-form-header {
        padding: 20px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .title-section {
        justify-content: center;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .form-container {
        padding: 20px;
    }

    .form-header-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .form-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .form-title h3 {
        font-size: 1.4rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .input-with-icon .custom-input,
    .textarea-with-icon .custom-textarea {
        padding: 12px 15px 12px 45px;
        font-size: 0.95rem;
    }

    .input-icon-fixed,
    .textarea-icon-fixed {
        left: 15px;
        font-size: 1rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-submit,
    .btn-cancel {
        width: 100%;
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .custom-alert {
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    .progress-steps {
        gap: 10px;
    }

    .step-title {
        font-size: 0.75rem;
    }

    .progress-steps::before {
        left: 5%;
        right: 5%;
    }

    .progress-bar {
        left: 5%;
    }
}

@media (max-width: 576px) {
    .custom-form-header {
        padding: 15px;
    }

    .form-container {
        padding: 15px;
    }

    .form-title h3 {
        font-size: 1.2rem;
    }

    .form-title p {
        font-size: 0.9rem;
    }

    .input-with-icon .custom-input,
    .textarea-with-icon .custom-textarea {
        padding: 10px 12px 10px 40px;
        font-size: 0.9rem;
    }

    .input-icon-fixed,
    .textarea-icon-fixed {
        left: 12px;
        font-size: 0.9rem;
    }

    .btn-submit,
    .btn-cancel {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* انیمیشن‌ها */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-form-card {
    animation: slideIn 0.6s ease;
}

.custom-form-group {
    animation: slideIn 0.4s ease;
}

/* loader برای دکمه ثبت */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* رفع مشکل نهایی - اطمینان از عدم همپوشانی */
.input-with-icon,
.textarea-with-icon {
    position: relative;
    display: block;
}

.input-with-icon input,
.textarea-with-icon textarea {
    position: relative;
    z-index: 1;
    background: transparent;
}

.input-icon-fixed,
.textarea-icon-fixed {
    z-index: 2;
}

.progress-container {
    margin-bottom: 2rem;
}
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
.progress-bar {
    position: absolute;
    top: 25px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: #e9ecef;
    z-index: 1;
    transition: all 0.3s ease;
}
.progress-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #007bff;
    width: 0%;
    transition: all 0.3s ease;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}
.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
}
.step-item.active .step-number {
    background: #007bff;
    color: white;
    border-color: #007bff;
}
.step-item.completed .step-number {
    background: #28a745;
    color: white;
    border-color: #28a745;
}
.step-title {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    transition: all 0.3s ease;
}
.step-item.active .step-title {
    color: #007bff;
    font-weight: bold;
}
.step-item.completed .step-title {
    color: #28a745;
}
.form-step {
    display: none;
}
.form-step.active {
    display: block;
}
.form-header-section {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}
.form-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    color: #007bff;
    font-size: 1.5rem;
}
.step-content {
    max-width: 500px;
    margin: 0 auto;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.input-with-icon {
    position: relative;
}
.input-icon-fixed {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}
.custom-input {
    padding-right: 15px;
    padding-left: 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    height: 50px;
    transition: all 0.3s ease;
}
.custom-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}
.btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-submit {
    background: #007bff;
    color: white;
}
.btn-submit:hover {
    background: #0056b3;
}
.btn-submit:disabled {
    background: #6c757d;
    cursor: not-allowed;
}
.btn-cancel {
    background: #6c757d;
    color: white;
}
.btn-cancel:hover {
    background: #545b62;
}
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-actions {
        flex-direction: column;
    }
}

/*استایل های تب ایندکس در زمان بندی*/
.schedule-panel {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 20px;
}

.tabs-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tabs-header {
    border-bottom: 1px solid #e1e5e9;
    background: #f8f9fa;
}

.nav-tabs {
    display: flex;
    padding: 0 20px;
}

.nav-tab {
    background: none;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-tab:hover {
    color: #495057;
    background: #e9ecef;
}

.nav-tab.active {
    color: #1976d2;
    border-bottom-color: #1976d2;
    background: white;
}

.tabs-content {
    padding: 0;
}

.tab-pane {
    display: none;
    min-height: 400px;
}

.tab-pane.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e1e5e9;
    background: white;
}

.tab-header h2 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

/* استایل‌های برنامه جاری */
.current-schedule {
    background: white;
}

.date-range {
    color: #6c757d;
    font-size: 14px;
}

.week-schedule {
    padding: 20px;
}

.week-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.day-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e1e5e9;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.day-header h4 {
    margin: 0;
    color: #333;
}

.day-header .date {
    color: #6c757d;
    font-size: 12px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .time {
    color: #1976d2;
    font-weight: 500;
    font-size: 13px;
}

.schedule-item .provider {
    color: #495057;
    font-size: 13px;
}

.current-providers {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.current-providers h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.providers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.provider-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
}

.provider-item.active .provider-status {
    color: #28a745;
}

.provider-item.busy .provider-status {
    color: #ffc107;
}

.provider-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-avatar i {
    color: #1976d2;
    font-size: 16px;
}

.provider-details h4 {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.provider-details p {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: #6c757d;
}

.provider-status {
    margin-right: auto;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.provider-status i {
    font-size: 8px;
}

/* استایل‌های عمومی */
.alert {
    padding: 12px 16px;
    margin: 10px 20px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-content button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #721c24;
    background-color: #f8d7da;
    border-radius: 4px;
    margin: 20px;
}

.loading-container {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto 20px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #495057;
}

.empty-state p {
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .schedule-panel {
        padding: 10px;
    }

    .nav-tabs {
        flex-direction: column;
        padding: 0;
    }

    .nav-tab {
        justify-content: center;
        border-bottom: 1px solid #e1e5e9;
        border-left: 3px solid transparent;
    }

    .nav-tab.active {
        border-left-color: #1976d2;
        border-bottom-color: #e1e5e9;
    }

    .tab-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .week-days {
        grid-template-columns: 1fr;
    }
}

/*استایل تب تعطیلی ها در پنل تایم*/
/* * {
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
        margin: 0;
        padding: 0;
        background-color: #f0f8ff;
        color: #333;
    } */

.providers-tab-content {
    padding: 0;
    background: linear-gradient(135deg, #e6f2ff 0%, #f0f8ff 100%);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.tab-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-bottom: 1px solid #c5d9f1;
    margin-bottom: 0;
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.1);
    border-radius: 0 0 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.tab-header h2 {
    margin: 0;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.providers-list-container {
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}

.hairdresser-schedule-section {
    background: white;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.1);
    overflow: hidden;
    border: 1px solid #d4e4f7;
}

.hairdresser-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #6aa8e8 0%, #4a90e2 100%);
    color: white;
}

.hairdresser-info-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hairdresser-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.hairdresser-avatar i {
    color: white;
    font-size: 24px;
}

.hairdresser-details {
    flex: 1;
}

.hairdresser-name {
    margin: 0 0 10px 0;
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.hairdresser-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hairdresser-status,
.hairdresser-phone,
.hairdresser-services {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.hairdresser-status.active {
    background: rgba(106, 168, 232, 0.4);
}

.hairdresser-status.inactive {
    background: rgba(220, 53, 69, 0.3);
}

.hairdresser-status i {
    font-size: 8px;
}

.btn-edit-schedule {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.btn-edit-schedule:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-add-holiday {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin-left: 10px;
    box-shadow: 0 2px 5px rgba(74, 144, 226, 0.3);
}

.btn-add-holiday:hover {
    background: linear-gradient(135deg, #357abd 0%, #2a5f9e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.holidays-section {
    padding: 20px 30px;
    border-top: 1px solid #e1ecf7;
}

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

.holidays-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c5282;
}

.holidays-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.holiday-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 10px;
    border: 1px solid #d4e4f7;
}

.holiday-field {
    display: flex;
    flex-direction: column;
}

.holiday-label {
    font-size: 12px;
    color: #4a90e2;
    margin-bottom: 5px;
    font-weight: 600;
}

.holiday-value {
    font-size: 14px;
    color: #2c5282;
    font-weight: 500;
}

.full-day-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #e1ecf7;
    border-radius: 4px;
    font-size: 12px;
    color: #2c5282;
}

.holiday-actions {
    display: flex;
    gap: 10px;
}

.btn-action {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-edit {
    color: #4a90e2;
}

.btn-edit:hover {
    background: rgba(74, 144, 226, 0.1);
}

.btn-delete {
    color: #e53e3e;
}

.btn-delete:hover {
    background: rgba(229, 62, 62, 0.1);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #f0f8ff;
    border-radius: 10px;
    border: 2px dashed #c5d9f1;
}

.empty-icon {
    font-size: 48px;
    color: #a0c4f0;
    margin-bottom: 15px;
}

.empty-state p {
    margin: 0;
    color: #4a90e2;
    font-size: 14px;
}

@media (max-width: 768px) {
    .tab-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .providers-list-container {
        padding: 15px;
    }

    .hairdresser-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }

    .hairdresser-info-main {
        flex-direction: column;
        text-align: center;
    }

    .hairdresser-meta {
        justify-content: center;
    }

    .holiday-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .holidays-section {
        padding: 15px;
    }
}

/*استایل تب کانتنت آرایشگر در برنامه زمان بندی*/
.providers-tab-content {
    padding: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.tab-header {
    padding: 25px 30px;
    background: white;
    border-bottom: 1px solid #e1e5e9;
    margin-bottom: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.tab-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
}

.providers-list-container {
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}

.hairdresser-schedule-section {
    background: white;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.hairdresser-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hairdresser-info-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hairdresser-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hairdresser-avatar i {
    color: white;
    font-size: 24px;
}

.hairdresser-details {
    flex: 1;
}

.hairdresser-name {
    margin: 0 0 10px 0;
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.hairdresser-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hairdresser-status,
.hairdresser-phone,
.hairdresser-services {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hairdresser-status.active {
    background: rgba(45, 206, 137, 0.3);
}

.hairdresser-status.inactive {
    background: rgba(220, 53, 69, 0.3);
}

.hairdresser-status i {
    font-size: 8px;
}

.btn-edit-schedule {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.btn-edit-schedule:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.weekly-schedule {
    padding: 0;
}

.schedule-table-container {
    padding: 0;
    width: 100%;
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.schedule-table th {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 16px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid #e9ecef;
}

.schedule-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    vertical-align: top;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover {
    background-color: #f8f9fa;
}

.shift-header {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    font-size: 13px;
    flex-direction: column;
}

.day-column {
    width: 120px;
    min-width: 120px;
}

.shift-column {
    width: 200px;
    min-width: 200px;
}

.day-cell {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    border-right: 2px solid #e9ecef;
}

.day-off {
    background-color: #fff5f5;
}

.day-off .day-cell {
    background-color: #ffe6e6;
}

.day-off-badge {
    display: block;
    font-size: 12px;
    color: #dc3545;
    margin-top: 5px;
    font-weight: normal;
}

.day-info {
    text-align: center;
}

.day-info strong {
    display: block;
    margin-bottom: 5px;
}

.shift-cell {
    min-width: 200px;
}

.time-slot {
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.time-slot.active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.time-slot.inactive {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px dashed #dee2e6;
    font-style: italic;
}

.morning-shift {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffd166;
    color: #856404;
}

.evening-shift {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 1px solid #86cfda;
    color: #0c5460;
}

.shift-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.7);
    width: 100%;
    transition: all 0.3s ease;
}

.shift-detail:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.02);
}

.time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.time-label {
    font-weight: 600;
    font-size: 11px;
    color: #495057;
}

.time-value {
    font-weight: 700;
    font-size: 12px;
    color: #212529;
}

.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 20px;
    border: 3px dashed #e1e5e9;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.empty-icon {
    font-size: 80px;
    color: #667eea;
    margin-bottom: 30px;
    opacity: 0.7;
}

.empty-state h3 {
    margin: 0 0 16px 0;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
}

.empty-state p {
    margin: 0 0 30px 0;
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

@media (max-width: 1200px) {
    .providers-list-container {
        padding: 20px;
    }

    .schedule-table {
        min-width: 700px;
    }

    .shift-column {
        width: 180px;
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .tab-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .providers-list-container {
        padding: 15px;
    }

    .hairdresser-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }

    .hairdresser-info-main {
        flex-direction: column;
        text-align: center;
    }

    .hairdresser-meta {
        justify-content: center;
    }

    .schedule-table-container {
        overflow-x: auto;
    }

    .schedule-table {
        min-width: 600px;
    }

    .shift-header {
        font-size: 12px;
    }

    .time-slot {
        min-height: 60px;
        padding: 8px;
    }

    .time-row {
        flex-direction: column;
        gap: 2px;
    }

    .time-label,
    .time-value {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .tab-header h2 {
        font-size: 20px;
    }

    .providers-list-container {
        padding: 10px;
    }

    .hairdresser-header {
        padding: 15px;
    }

    .hairdresser-name {
        font-size: 18px;
    }

    .hairdresser-meta {
        flex-direction: column;
        gap: 10px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 8px 4px;
    }
}

/* استابل تب ادیت آرایشگر در برنامه زمان بندی */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.page-header h1 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
}

.edit-provider-schedule {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.alert {
    padding: 15px 20px;
    margin: 0;
    border-radius: 0;
    border: none;
    background: #e3f2fd;
    color: #1565c0;
    border-bottom: 1px solid #bbdefb;
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
}

.provider-info-section,
.schedule-section {
    padding: 25px;
}

/* .section-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid #e9ecef;
    }

    .section-header h3 {
        margin: 0;
        color: #2c3e50;
        font-size: 18px;
        font-weight: 600;
    } */

.schedule-hint {
    color: #6c757d;
    font-size: 12px;
    margin-right: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.selected-hairdresser {
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #495057;
}

.selected-hairdresser strong {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    display: block;
    margin-bottom: 10px;
}

.hairdresser-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.detail-item i {
    color: #007bff;
}

.form-hint {
    color: #6c757d;
    font-size: 12px;
    margin-top: 4px;
}

.schedule-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.edit-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.edit-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 15px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 16px;
}

.edit-table td {
    padding: 25px 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    transition: background-color 0.3s ease;
    text-align: center;
}

.edit-table tr:hover td {
    background-color: #f8f9fa;
}

.day-cell {
    background: #f8f9fa;
    font-weight: 700;
    width: 140px;
    text-align: center;
    color: #495057;
    font-size: 16px;
    border-right: 2px solid #e9ecef;
    position: relative;
}

.time-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.time-input-with-label {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 180px;
}

.time-label {
    font-size: 14px;
    color: #495057;
    font-weight: 600;
    min-width: 50px;
    text-align: left;
}

/* استایل مخصوص inputهای زمان 24 ساعته */
.time-input-24h {
    padding: 10px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    direction: ltr;
    flex: 1;
    min-width: 100px;
}

.time-input-24h:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

/* مخفی کردن am/pm در مرورگرهای مختلف */
input[type="time"]::-webkit-datetime-edit-ampm-field {
    display: none;
}

input[type="time"]::-moz-datetime-edit-ampm-field {
    display: none;
}

input[type="time"]::-ms-clear {
    display: none;
}

input[type="time"] {
    direction: ltr;
    text-align: center;
}

.schedule-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 25px 0;
    flex-wrap: wrap;
}

.form-actions {
    padding: 25px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.day-off {
    background-color: #fff5f5 !important;
}

.day-off .day-cell {
    background-color: #ffe6e6;
    color: #dc3545;
}

.day-off-badge {
    display: block;
    font-size: 12px;
    color: #dc3545;
    margin-top: 5px;
    font-weight: normal;
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .page-header h1 {
        font-size: 20px;
    }

    .provider-info-section,
    .schedule-section {
        padding: 15px;
    }

    .edit-table {
        min-width: 600px;
    }

    .edit-table th {
        padding: 15px 10px;
        font-size: 14px;
    }

    .edit-table td {
        padding: 20px 10px;
    }

    .day-cell {
        width: 100px;
        font-size: 14px;
    }

    .time-input-with-label {
        max-width: 160px;
        gap: 8px;
    }

    .time-label {
        font-size: 13px;
        min-width: 45px;
    }

    .time-input-24h {
        padding: 8px 10px;
        font-size: 13px;
        min-width: 90px;
    }

    .schedule-actions {
        flex-direction: column;
        align-items: center;
    }

    .form-actions {
        flex-direction: column;
        padding: 20px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hairdresser-details {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .edit-table {
        min-width: 500px;
    }

    .time-input-with-label {
        max-width: 140px;
        gap: 6px;
    }

    .time-label {
        font-size: 12px;
        min-width: 40px;
    }

    .time-input-24h {
        padding: 6px 8px;
        font-size: 12px;
        min-width: 80px;
    }
}

/*=============================================================استایل های صفحه رزرو نوبت ============================================================*/
/* متغیرهای رنگ با تم آبی */
:root {
    --rsv-primary-blue: #1e88e5;
    --rsv-dark-blue: #1565c0;
    --rsv-light-blue: #e3f2fd;
    --rsv-primary-yellow: #ffd54f;
    --rsv-dark-yellow: #ffb300;
    --rsv-light-yellow: #fff9c4;
    --rsv-text-dark: #333;
    --rsv-text-light: #666;
    --rsv-border-radius: 12px;
    --rsv-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --rsv-error-color: #f44336;
    --rsv-success-color: #4caf50;
    --rsv-warning-color: #ff9800;
}

/* استایل‌های پایه */
.rsv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.rsv-reservation-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.rsv-card-header {
    background: linear-gradient(
        135deg,
        var(--rsv-primary-blue),
        var(--rsv-dark-blue)
    );
    color: white;
    padding: 30px;
    text-align: center;
}

.rsv-card-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

.rsv-card-header p {
    margin: 10px 0 0 0;
    opacity: 0.9;
}

.rsv-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #f8f9fa;
}

.rsv-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.rsv-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.rsv-step.active .rsv-step-number {
    background: var(--rsv-primary-blue);
    color: white;
}

.rsv-step.completed .rsv-step-number {
    background: var(--rsv-success-color);
    color: white;
}

.rsv-step-text {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.rsv-step.active .rsv-step-text {
    color: var(--rsv-primary-blue);
}

.rsv-step.completed .rsv-step-text {
    color: var(--rsv-success-color);
}

.rsv-step-line {
    flex: 1;
    height: 2px;
    background: #dee2e6;
    margin: 0 20px;
    position: relative;
    top: -20px;
}

.rsv-card-body {
    padding: 30px;
}

.rsv-step-content {
    display: none;
}

.rsv-step-content.active {
    display: block;
    animation: rsv-fadeIn 0.5s ease;
}

@keyframes rsv-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rsv-step-title {
    color: var(--rsv-primary-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rsv-light-blue);
    font-size: 20px;
}

/* استایل تایمر */
.rsv-timer-container {
    margin-bottom: 20px;
    padding: 0 15px;
}

.rsv-timer {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.rsv-timer-active {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #fdcb6e;
    color: #856404;
    animation: pulse 2s infinite;
}

.rsv-timer-expired {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 2px solid #e74c3c;
    color: #721c24;
}

.rsv-timer-warning {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    border: 2px solid #f39c12;
    color: #856404;
}

.rsv-time-remaining {
    font-family: "Courier New", monospace;
    font-size: 1.3em;
    direction: ltr;
    display: inline-block;
    background: rgba(0, 0, 0, 0.1);
    padding: 4px 8px;
    border-radius: 5px;
    margin: 0 5px;
}

/* استایل هشدار سرویس‌های بدون زمان - زیر دکمه مرحله بعد */
.rsv-next-btn-wrapper {
    position: relative;
    display: inline-block;
}

.rsv-missing-alert {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    z-index: 1000;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.rsv-missing-alert.rsv-alert-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.rsv-alert-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #856404;
    font-size: 14px;
    font-weight: 500;
}

.rsv-alert-content i {
    color: #ffc107;
    font-size: 16px;
    flex-shrink: 0;
}

.rsv-alert-content span {
    flex: 1;
    line-height: 1.4;
}

.rsv-alert-close {
    background: none;
    border: none;
    color: #856404;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.rsv-alert-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* استایل Real-time Lock */
.rsv-lock-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
    max-width: 500px;
    animation: slideInRight 0.3s ease;
}

.rsv-lock-toast-content {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid var(--rsv-primary-blue);
}

.rsv-lock-error .rsv-lock-toast-content {
    border-left-color: var(--rsv-error-color);
}

.rsv-lock-warning .rsv-lock-toast-content {
    border-left-color: var(--rsv-warning-color);
}

/* استایل‌های جدید برای تایم اسلات‌های رزرو شده در انتظار پرداخت */
.rsv-time-slot-reserved-pending {
    background: linear-gradient(45deg, #e9d8fd, #d6bcfa) !important;
    color: #553c9a !important;
    border: 2px solid #9f7aea !important;
    cursor: not-allowed !important;
    position: relative;
}

.rsv-time-slot-reserved-pending::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(255, 255, 255, 0.3) 5px,
        rgba(255, 255, 255, 0.3) 10px
    );
}

.rsv-reserved-badge {
    background: #805ad5;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: bold;
    margin-right: 5px;
    animation: pulse 2s infinite;
}

/* استایل برای تایم اسلات‌های در حال رزرو (قرمز) */
.rsv-time-slot-locked-by-other {
    background: linear-gradient(45deg, #fed7d7, #feb2b2) !important;
    color: #742a2a !important;
    border: 2px solid #fc8181 !important;
    cursor: not-allowed !important;
}

.rsv-lock-badge {
    background: #e53e3e;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: bold;
    margin-right: 5px;
}

/* استایل برای تایم اسلات‌های آزاد (سبز) */
.rsv-time-slot-available {
    background: linear-gradient(45deg, #d1f2eb, #a3e4d7) !important;
    color: #196f3d !important;
    border: 2px solid #27ae60 !important;
    cursor: pointer !important;
}

.rsv-time-slot-available:hover {
    background: linear-gradient(45deg, #a3e4d7, #76d7c4) !important;
    border-color: #1e8449 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.rsv-time-slot-locking {
    background: linear-gradient(45deg, #bee3f8, #90cdf4) !important;
    color: #2a4365 !important;
    border-color: #4299e1 !important;
    position: relative;
}

.rsv-time-slot-locking::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 1.5s infinite;
}

@keyframes lock-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* استایل‌های سرویس */
.rsv-service-selector-wrapper {
    position: relative;
}

.rsv-service-selector {
    position: relative;
    width: 100%;
}

.rsv-selected-service-display {
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.rsv-selected-service-display:hover {
    border-color: var(--rsv-primary-blue);
    background: var(--rsv-light-blue);
}

.rsv-selected-service-display.active {
    border-color: var(--rsv-primary-blue);
    border-style: solid;
}

.rsv-service-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--rsv-text-light);
}

.rsv-service-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #9ca3af;
}

.rsv-services-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.rsv-services-dropdown.show {
    display: block;
    animation: rsv-slideDown 0.3s ease;
}

@keyframes rsv-slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.rsv-dropdown-content {
    padding: 10px;
    max-height: 280px;
    overflow-y: auto;
}

.rsv-service-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 5px;
}

.rsv-service-option:hover {
    background: var(--rsv-light-blue);
}

.rsv-service-icon {
    width: 40px;
    height: 40px;
    background: var(--rsv-light-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: var(--rsv-dark-blue);
}

.rsv-service-info {
    flex: 1;
}

.rsv-service-name {
    font-weight: 600;
    color: var(--rsv-text-dark);
    margin-bottom: 5px;
}

.rsv-service-price {
    color: var(--rsv-success-color);
    font-weight: bold;
}

.rsv-selected-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rsv-remove-service {
    background: none;
    border: none;
    color: var(--rsv-error-color);
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.rsv-remove-service:hover {
    background: #fef2f2;
}

.rsv-additional-services-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.rsv-btn-add-service {
    background: #f8f9fa;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    padding: 15px 20px;
    color: var(--rsv-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
}

.rsv-btn-add-service:hover {
    border-color: var(--rsv-primary-blue);
    color: var(--rsv-primary-blue);
    background: var(--rsv-light-blue);
}

.rsv-additional-services-list {
    margin-top: 15px;
}

.rsv-additional-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rsv-additional-service-selector {
    flex: 1;
    position: relative;
}

.rsv-additional-service-display {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    background: white;
}

/* استایل‌های تقویم و زمان */
.rsv-calendar-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.rsv-calendar-nav {
    background: var(--rsv-primary-blue);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.rsv-calendar-nav:hover:not(:disabled) {
    background: var(--rsv-dark-blue);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.rsv-calendar-nav:disabled {
    background: #bdbdbd;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.rsv-date-display {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.rsv-current-date-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--rsv-primary-blue);
    padding: 10px 16px;
    background: var(--rsv-light-blue);
    border-radius: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.rsv-current-date-text:hover {
    border-color: var(--rsv-primary-blue);
    background: white;
}

.rsv-calendar-picker-btn {
    background: linear-gradient(
        135deg,
        var(--rsv-primary-yellow),
        var(--rsv-dark-yellow)
    );
    color: var(--rsv-text-dark);
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.rsv-calendar-picker-btn:hover {
    background: linear-gradient(135deg, var(--rsv-dark-yellow), #e6a800);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rsv-calendar-picker-btn:active {
    transform: translateY(0);
}

.rsv-time-slots {
    min-height: 200px;
}

.rsv-time-slot {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 20px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.rsv-time-slot:hover:not(:disabled) {
    border-color: var(--rsv-primary-blue);
    background: var(--rsv-light-blue);
}

.rsv-time-slot-selected {
    background: var(--rsv-primary-blue) !important;
    color: white !important;
    border-color: var(--rsv-primary-blue) !important;
}

.rsv-time-slot-booked {
    background: #fef3c7 !important;
    color: #92400e !important;
    border-color: #f59e0b !important;
    cursor: not-allowed !important;
}

.rsv-time-slot-disabled {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    border-color: #d1d5db !important;
    cursor: not-allowed !important;
}

.rsv-time-slot-conflict {
    background: #fecaca !important;
    color: #dc2626 !important;
    border-color: #f87171 !important;
    cursor: not-allowed !important;
}

/* استایل‌های پرداخت */
.rsv-payment-info-card {
    background: var(--rsv-light-blue);
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.rsv-payment-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.rsv-payment-info-header i {
    color: var(--rsv-dark-blue);
    font-size: 1.2rem;
}

.rsv-payment-info-header h4 {
    margin: 0;
    color: var(--rsv-dark-blue);
    font-weight: bold;
}

.rsv-payment-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.rsv-payment-info-label {
    color: var(--rsv-text-light);
}

.rsv-payment-info-value {
    color: var(--rsv-text-dark);
    font-weight: bold;
}

.rsv-payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.rsv-payment-option {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.rsv-payment-option:hover {
    border-color: var(--rsv-primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rsv-payment-option.selected {
    border-color: var(--rsv-primary-yellow);
    background: linear-gradient(135deg, var(--rsv-light-yellow), #fffde7);
    box-shadow: 0 4px 15px rgba(255, 213, 79, 0.3);
}

.rsv-payment-radio {
    margin-left: 15px;
    width: 20px;
    height: 20px;
    accent-color: var(--rsv-primary-blue);
}

.rsv-payment-option label {
    flex: 1;
    cursor: pointer;
}

.rsv-payment-option label strong {
    color: var(--rsv-dark-blue);
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.rsv-payment-option label p {
    color: var(--rsv-text-light);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.rsv-payment-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 10px;
}

.rsv-payment-badge-free {
    background: #dcfce7;
    color: #166534;
}

.rsv-payment-badge-commission {
    background: #fef3c7;
    color: #92400e;
}

.rsv-payment-badge-full {
    background: #dbeafe;
    color: #1e40af;
}

.rsv-payment-details {
    background: var(--rsv-light-blue);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid var(--rsv-primary-blue);
}

.rsv-payment-details-title {
    margin: 0 0 20px 0;
    color: var(--rsv-dark-blue);
    font-size: 1.2rem;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rsv-primary-blue);
}

.rsv-reservation-summary-table {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background: white;
}

.rsv-summary-header {
    display: flex;
    background: linear-gradient(
        135deg,
        var(--rsv-primary-blue),
        var(--rsv-dark-blue)
    );
    color: white;
    padding: 15px;
    font-weight: 600;
    text-align: center;
}

.rsv-summary-body {
    max-height: 300px;
    overflow-y: auto;
}

.rsv-summary-row {
    display: flex;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
    transition: background-color 0.2s;
}

.rsv-summary-row:last-child {
    border-bottom: none;
}

.rsv-summary-row:hover {
    background-color: var(--rsv-light-blue);
}

.rsv-summary-col {
    flex: 1;
    text-align: center;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rsv-summary-service {
    flex: 1.5;
}

.rsv-summary-date {
    flex: 1;
}

.rsv-summary-time {
    flex: 1;
}

.rsv-summary-hairdresser {
    flex: 1.2;
}

.rsv-summary-service-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rsv-summary-service-info i {
    color: var(--rsv-primary-blue);
    font-size: 16px;
}

.rsv-summary-col i {
    color: var(--rsv-primary-blue);
    font-size: 14px;
}

.rsv-summary-empty {
    color: var(--rsv-text-light);
    font-style: italic;
    text-align: center;
    padding: 30px;
}

.rsv-summary-footer {
    border-top: 2px solid var(--rsv-primary-blue);
    padding-top: 20px;
    margin-top: 20px;
}

.rsv-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.rsv-summary-label {
    color: var(--rsv-text-dark);
    font-weight: 500;
}

.rsv-summary-value {
    font-weight: 500;
    color: var(--rsv-dark-blue);
}

.rsv-total {
    font-size: 18px;
    font-weight: bold;
    color: var(--rsv-primary-blue);
    border-bottom: none;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 2px dashed var(--rsv-primary-blue);
}

.rsv-total .rsv-summary-label {
    color: var(--rsv-dark-blue);
}

.rsv-total .rsv-summary-value {
    color: var(--rsv-dark-blue);
    font-size: 20px;
}

/* استایل‌های دکمه‌ها */
.rsv-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    position: relative;
}

.rsv-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rsv-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.rsv-btn-prev {
    background: #6b7280;
    color: white;
}

.rsv-btn-prev:hover:not(:disabled) {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rsv-btn-next {
    background: var(--rsv-primary-blue);
    color: white;
}

.rsv-btn-next:hover:not(:disabled) {
    background: var(--rsv-dark-blue);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rsv-btn-submit {
    background: var(--rsv-success-color);
    color: white;
}

.rsv-btn-submit:hover:not(:disabled) {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* استایل برای نمایش وضعیت سرویس‌ها */
.rsv-services-status-container {
    animation: fadeInUp 0.5s ease;
}

.rsv-missing-service-badge {
    animation: pulse 2s infinite;
}

/* استایل برای اسلات‌های انتخاب شده */
.rsv-time-slot-selected {
    background: var(--rsv-primary-blue) !important;
    color: white !important;
    border-color: var(--rsv-primary-blue) !important;
    position: relative;
}

.rsv-time-slot-selected::after {
    content: "✓";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
}

.rsv-time-slot-selected:hover {
    background: var(--rsv-dark-blue) !important;
    border-color: var(--rsv-dark-blue) !important;
    cursor: pointer;
}

/* استایل برای badge انتخاب شده */
.rsv-selected-badge {
    background: #10b981;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: bold;
    margin-right: 5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استایل برای دکمه مرحله بعد وقتی کامل نیست */
.rsv-btn-next-incomplete {
    background: #f59e0b !important;
    position: relative;
}

.rsv-btn-next-incomplete::after {
    content: "!";
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .rsv-container {
        padding: 10px;
    }

    .rsv-card-header {
        padding: 20px;
    }

    .rsv-card-header h1 {
        font-size: 1.5rem;
    }

    .rsv-steps {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .rsv-step-line {
        display: none;
    }

    .rsv-step-text {
        font-size: 0.8rem;
    }

    .rsv-card-body {
        padding: 20px;
    }

    .rsv-calendar-header-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .rsv-calendar-picker-btn {
        width: 100%;
        margin-top: 10px;
    }

    .rsv-summary-header {
        flex-wrap: wrap;
    }

    .rsv-summary-col {
        font-size: 12px;
    }

    .rsv-summary-row {
        padding: 8px 10px;
        flex-wrap: wrap;
    }

    .rsv-summary-service {
        flex: 100%;
        margin-bottom: 5px;
        justify-content: flex-start;
    }

    .rsv-summary-date,
    .rsv-summary-time,
    .rsv-summary-hairdresser {
        flex: 1;
        font-size: 11px;
    }

    .rsv-card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .rsv-next-btn-wrapper {
        order: 2;
    }

    .rsv-btn-prev {
        order: 1;
    }

    .rsv-btn-submit {
        order: 3;
    }

    .rsv-btn {
        width: 100%;
        justify-content: center;
    }

    /* هشدار موبایل */
    .rsv-missing-alert {
        position: relative;
        margin-top: 10px;
        width: 100%;
    }

    /* Mobile dropdown fixes */
    .rsv-services-dropdown,
    .rsv-additional-services-dropdown {
        position: sticky;
        top: 20px;
        left: 0;
        right: 0;
        margin: 10px;
        max-height: 70vh;
        z-index: 10000;
        background: white;
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        display: none; /* تغییر از visibility به display */
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .rsv-services-dropdown.show,
    .rsv-additional-services-dropdown.show {
        display: block; /* نمایش dropdown */
        opacity: 1;
        transform: translateY(0);
    }

    .rsv-dropdown-content {
        max-height: 65vh;
        overflow-y: auto;
        padding: 15px;
    }
}

/* ریسپانسیو برای موبایل کوچک */
@media (max-width: 640px) {
    .rsv-calendar-container {
        padding: 14px;
    }

    .rsv-calendar-header-row {
        gap: 10px;
    }

    .rsv-date-navigation {
        gap: 8px;
    }

    .rsv-calendar-nav {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .rsv-current-date-text {
        font-size: 15px;
        padding: 7px 10px;
        min-width: 160px;
    }

    .rsv-calendar-picker-btn {
        padding: 9px 12px;
        font-size: 12px;
        gap: 5px;
    }
}

/* ریسپانسیو برای موبایل خیلی کوچک */
@media (max-width: 480px) {
    .rsv-calendar-header-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .rsv-date-navigation {
        order: 1;
        width: 100%;
        justify-content: center;
        gap: 15px;
        margin-bottom: 8px;
    }

    .rsv-calendar-picker-btn {
        order: 2;
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }

    .rsv-calendar-nav {
        width: 36px;
        height: 36px;
    }

    .rsv-current-date-text {
        font-size: 14px;
        padding: 8px 16px;
        min-width: 200px;
        text-align: center;
    }
}

/* انیمیشن‌های اضافی */
@keyframes rsv-shake {
    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.rsv-shake {
    animation: rsv-shake 0.5s ease-in-out;
}

/* بهبود نمایش در حالت تاریک */
@media (prefers-color-scheme: dark) {
    .rsv-calendar-container {
        background-color: #2d3748;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .rsv-current-date-text {
        background: #4a5568;
        color: #e2e8f0;
    }
}

/* هایلایت برای تاریخ امروز */
.rsv-today-highlight {
    position: relative;
}

.rsv-today-highlight::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--rsv-primary-yellow);
    border-radius: 50%;
}

/* استایل‌های اضافی برای فیلدهای فرم */
.rsv-form-group {
    margin-bottom: 20px;
}

.rsv-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.rsv-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s ease;
}

.rsv-form-control:focus {
    border-color: var(--rsv-primary-blue);
    outline: none;
}

/* استایل برای نمایش متن مبلغ */
.rsv-amount-text-display {
    margin-top: 10px;
    padding: 12px 15px;
    background-color: var(--rsv-light-blue);
    border-radius: 8px;
    border: 1px solid var(--rsv-primary-blue);
    text-align: center;
    font-weight: 600;
    color: var(--rsv-dark-blue);
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsv-amount-text-display span {
    font-size: 16px;
    line-height: 1.4;
}

/* استایل برای یادداشت‌های اضافی */
.rsv-additional-notes-section {
    margin-top: 30px;
}

.rsv-notes-container {
    background-color: white;
    border-radius: var(--rsv-border-radius);
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.rsv-notes-container label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--rsv-primary-blue);
    margin-bottom: 15px;
    font-size: 16px;
}

.rsv-notes-container label i {
    color: var(--rsv-primary-yellow);
}

.rsv-notes-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.rsv-notes-textarea:focus {
    outline: none;
    border-color: var(--rsv-primary-blue);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.rsv-notes-textarea::placeholder {
    color: #999;
    font-size: 13px;
}

.rsv-notes-counter {
    text-align: left;
    margin-top: 8px;
    font-size: 12px;
    color: var(--rsv-text-light);
}

.rsv-notes-counter span {
    font-weight: 600;
    color: var(--rsv-primary-blue);
}

/* استایل برای وضعیت‌های مختلف زمان */
.rsv-time-status-legend {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

/* استایل برای گروه‌بندی سرویس‌ها */
.rsv-service-group {
    border: 1px solid #e3f2fd;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.rsv-service-group-header {
    background: #e3f2fd;
    padding: 10px 15px;
    font-weight: 600;
    color: #1565c0;
    border-bottom: 1px solid #bbdefb;
}

.rsv-service-group-body {
    padding: 10px 15px;
    background: white;
}

/* استایل برای زمان‌های انتخاب شده */
.rsv-selected-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    margin: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rsv-selected-time-badge button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 2px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.rsv-selected-time-badge button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* استایل‌های موبایل اضافی */
@media (max-width: 768px) {
    .rsv-payment-option {
        padding: 15px;
    }

    .rsv-payment-info-card {
        padding: 15px;
    }

    .rsv-payment-details {
        padding: 20px;
    }

    .rsv-timer-container {
        padding: 0 10px;
    }

    .rsv-timer {
        font-size: 14px;
        padding: 10px 12px;
    }

    .rsv-time-remaining {
        font-size: 1.1em;
    }
}

/* پشتیبانی از حالت landscape در موبایل */
@media (max-width: 896px) and (orientation: landscape) {
    .rsv-calendar-header-row {
        gap: 10px;
    }

    .rsv-date-navigation {
        gap: 8px;
    }

    .rsv-current-date-text {
        font-size: 14px;
        min-width: 140px;
    }

    .rsv-calendar-picker-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* پشتیبانی از داک‌مود دسکتاپ */
@media (min-width: 1200px) and (max-height: 720px) {
    .rsv-calendar-container {
        padding: 16px;
    }

    .rsv-calendar-nav {
        width: 40px;
        height: 40px;
    }

    .rsv-current-date-text {
        font-size: 16px;
        padding: 8px 14px;
    }
}

/* حالت عمودی برای ارتفاع کم */
@media (max-height: 600px) and (max-width: 768px) {
    .rsv-calendar-container {
        padding: 12px;
    }

    .rsv-calendar-nav {
        width: 36px;
        height: 36px;
    }

    .rsv-current-date-text {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* کلاس hidden */
.hidden {
    display: none !important;
}


/*===========================================استایل های رزرو در صفحه پنل آرایشگاه=====================================================*/
:root {
    --primary-blue: #3498db;
    --dark-blue: #2980b9;
    --primary-yellow: #f39c12;
    --dark-yellow: #e67e22;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e1e8ed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.card-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.card-header h2 {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.card-header h2 i {
    color: var(--primary-blue);
}

.card-header p {
    color: var(--text-light);
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.reservations-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.reservation-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.reservation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
    border-color: var(--primary-blue);
}

.reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
}

.reservation-info h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.reservation-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.reservation-status {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.reservation-status.pending {
    background: var(--warning);
}

.reservation-status.success {
    background: var(--success);
}

.reservation-body {
    padding: 1.5rem;
}

.user-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.info-item i {
    color: var(--primary-blue);
    width: 20px;
}

.services-section h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.services-section h4 i {
    color: var(--primary-yellow);
}

.service-item {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-right: 4px solid var(--primary-yellow);
}

.service-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.service-details span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-light);
}

.service-details i {
    color: var(--primary-blue);
}

.payment-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.payment-amount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.payment-amount i {
    color: var(--success);
}

.amount {
    font-weight: 700;
    color: var(--success);
    font-size: 1.2rem;
}

.payment-status {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.payment-status.success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.reservation-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
}

.action-form {
    flex: 1;
}

.btn-accept,
.btn-reject {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-accept {
    background: linear-gradient(135deg, var(--success), #2ecc71);
    color: white;
}

.btn-accept:hover {
    background: linear-gradient(135deg, #2ecc71, var(--success));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.btn-reject {
    background: linear-gradient(135deg, var(--danger), #e74c3c);
    color: white;
}

.btn-reject:hover {
    background: linear-gradient(135deg, #e74c3c, var(--danger));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .reservation-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .user-info {
        grid-template-columns: 1fr;
    }

    .service-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .payment-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .reservation-actions {
        flex-direction: column;
    }
}

.reservation-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 15px;
    transition: 0.3s;
}
.reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.reservation-status {
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.reservation-status.pending {
    background-color: #fff3cd;
    color: #856404;
}
.reservation-status.success {
    background-color: #d4edda;
    color: #155724;
}
.reservation-status.rejected {
    background-color: #f8d7da;
    color: #721c24;
}
.btn-accept {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 5px;
}
.btn-reject {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
}
.btn-accept:hover {
    background-color: #218838;
}
.btn-reject:hover {
    background-color: #c82333;
}

/*===========================================پایان استایل های رزرو در صفحه پنل آرایشگاه=====================================================*/

.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: #f9fafb;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
}

.login-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.captcha-code {
    background: #f3f4f6;
    padding: 0.75rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.5rem;
    letter-spacing: 4px;
    flex-grow: 1;
    text-align: center;
    user-select: none;
    font-weight: bold;
    color: #1f2937;
}

.refresh-captcha {
    background: none;
    border: none;
    color: #4f46e5;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-captcha:hover {
    background-color: #f3f4f6;
}

.login-button {
    width: 100%;
    background-color: #4784d3;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 1rem;
}

.login-button:hover:not(:disabled) {
    background-color: #639ae2;
}

.login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.alternative-button {
    width: 100%;
    background: none;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 1.5rem;
    color: #374151;
}

.alternative-button:hover {
    background-color: #f3f4f6;
}

.login-links {
    text-align: center;
    font-size: 0.875rem;
}

.login-links p {
    margin-bottom: 0.75rem;
}

.link {
    color: #4f46e5;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.alternative-button {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.forgot-password-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.forgot-password-container {
    width: 100%;
    max-width: 450px;
}

.forgot-password-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.forgot-password-title {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.form-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.change-password-button,
.send-otp-button,
.verify-otp-button {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.change-password-button:hover,
.send-otp-button:hover,
.verify-otp-button:hover {
    background-color: #3a7bc8;
}

.change-password-button:disabled,
.send-otp-button:disabled,
.verify-otp-button:disabled {
    background-color: #a0c4f5;
    cursor: not-allowed;
}

.success-message {
    text-align: center;
    padding: 30px;
}

.success-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 20px;
}

.countdown {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

.link {
    color: #4a90e2;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.alternative-button {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    margin-top: 15px;
    color: #4a90e2;
    border: 1px solid #4a90e2;
    border-radius: 5px;
    transition: all 0.3s;
}

.alternative-button:hover {
    background-color: #4a90e2;
    color: white;
}

.timer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.resend-button {
    background: none;
    border: none;
    color: #4a90e2;
    cursor: pointer;
    font-size: 14px;
}

.resend-button:disabled {
    color: #aaa;
    cursor: not-allowed;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-weight: bold;
}

.step.active {
    background-color: #4a90e2;
    color: white;
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: #ddd;
    margin: 0 5px;
    align-self: center;
}

.step-line.active {
    background-color: #4a90e2;
}

.beauty-view-more-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #00a0e2;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
    margin: 20px auto;
    display: block;
    width: max-content;
}

.beauty-view-more-btn:hover {
    background-color: #0089bf;
    transform: translateY(-2px);
}

.beauty-load-more-container {
    text-align: center;
}

.beauty-view-more-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #00a0e2;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
    margin: 20px auto;
    display: block;
    width: max-content;
}

.beauty-view-more-btn:hover {
    background-color: #0089bf;
    transform: translateY(-2px);
}

.beauty-load-more-container {
    text-align: center;
}

:root {
    --hb-primary: #007bff;
    --hb-accent: #ffc107;
    --hb-bg: #f9fbfd;
    --hb-text: #333;
    --hb-border: #e0e0e0;
}

body {
    background: var(--hb-bg);
    font-family: "IRANSans", sans-serif;
    color: var(--hb-text);
    direction: rtl;
}

.hb-salon-container {
    max-width: 1200px;
    margin: auto;
    padding: 1.5rem;
}

.hb-hero {
    /* background: white; */
    border-radius: 16px;
    padding: 1.5rem;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); */
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.hb-gallery {
    flex: 1 1 45%;
}

.hb-main-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.hb-info {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hb-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.hb-title-section h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--hb-primary);
    margin-bottom: 0.5rem;
}

.hb-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hb-rating .stars i {
    color: var(--hb-accent);
}

.hb-rating-count {
    color: #666;
    font-size: 0.9rem;
}

.hb-btn-primary {
    background: var(--hb-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.hb-btn-primary:hover {
    background: var(--hb-accent);
    color: var(--hb-text);
}

.hb-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.hb-stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #f3f7ff;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    color: var(--hb-primary);
}

.hb-follow-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hb-btn-follow {
    background: none;
    border: 2px solid var(--hb-primary);
    color: var(--hb-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: 0.3s;
    cursor: pointer;
}

.hb-btn-follow.following {
    background: var(--hb-primary);
    color: white;
}

.hb-description {
    margin-top: 1rem;
    line-height: 1.8;
}

.hb-tags {
    margin-top: 1rem;
}

.hb-tag {
    display: inline-block;
    background: var(--hb-accent);
    color: #222;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    margin: 0.2rem;
}

.hb-details {
    margin-top: 1rem;
}

.hb-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.3rem 0;
    color: #555;
}

.hb-social-icons a {
    color: var(--hb-primary);
    font-size: 1.3rem;
    margin-left: 0.8rem;
    transition: 0.3s;
}

.hb-social-icons a:hover {
    color: var(--hb-accent);
}

.hb-blog-section {
    margin-top: 3rem;
}

.hb-section-title {
    font-size: 1.5rem;
    color: var(--hb-primary);
    margin-bottom: 1rem;
    border-right: 4px solid var(--hb-accent);
    padding-right: 0.6rem;
}

.hb-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.hb-blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.hb-blog-card:hover {
    transform: translateY(-5px);
}

.hb-blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.hb-blog-card-info {
    padding: 1rem;
}

.hb-blog-card-info h3 {
    color: var(--hb-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hb-blog-card-info p {
    color: #555;
    font-size: 0.9rem;
}

.hb-blog-btn {
    display: inline-block;
    background: var(--hb-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.hb-blog-btn:hover {
    background: var(--hb-accent);
    color: #222;
}

.hb-view-more {
    text-align: center;
    margin-top: 2rem;
}

.hb-view-more a {
    color: var(--hb-primary);
    font-weight: 600;
    text-decoration: none;
}

.hb-review-section {
    margin-top: 3rem;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.hb-review-form label {
    display: block;
    font-weight: 600;
    color: var(--hb-primary);
    margin-bottom: 0.3rem;
}

.hb-review-form input,
.hb-review-form textarea,
.hb-review-form select {
    width: 100%;
    border: 1px solid var(--hb-border);
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hb-review-card {
    border: 1px solid var(--hb-border);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fefefe;
}

.hb-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hb-owner-reply {
    background: #f3f7ff;
    border-right: 4px solid var(--hb-accent);
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 0.6rem;
}

.custom-notification {
    font-weight: 600;
}

@media (max-width: 768px) {
    .hb-hero {
        flex-direction: column;
    }

    .hb-salon-container {
        padding: 1rem;
    }

    .hb-btn-primary {
        width: 100%;
    }
}

.hb-thumbnails-slider {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scroll-behavior: smooth;
}

.hb-thumbnails-slider::-webkit-scrollbar {
    height: 8px;
}

.hb-thumbnails-slider::-webkit-scrollbar-thumb {
    background: var(--hb-primary);
    border-radius: 4px;
}

.hb-thumbnails-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.thumbnail-wrapper {
    flex: 0 0 auto;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.thumbnail-wrapper:hover {
    transform: scale(1.05);
}

.thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 12px;
    transition: 0.3s;
}

.thumbnail.active {
    border-color: var(--hb-primary);
}

@media (max-width: 768px) {
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

.hb-main-image img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hb-main-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.salon-gallery {
    position: relative;
    margin-bottom: 20px;
}

/* .image-slider {
    position: relative;
    margin-top: 15px;
    overflow: hidden;
    transform: translateY(-500px);
}

@media (max-width: 768px) {
    .image-slider {
        transform: translateY(0);
    }
} */
.salonimage-slider {
    position: relative;
    margin: 15px auto 0;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    display: block;
}

/* تبلت */
@media (max-width: 1024px) {
    .salonimage-slider {
        max-width: 90%;
        margin: -300px auto 0;   /* بجای transform */
    }
}

/* موبایل بزرگ */
@media (max-width: 768px) {
    .salonimage-slider {
        max-width: 95%;
        margin: -150px auto 0;  /* وسط‌چین بدون transform */
    }
}

/* موبایل کوچک */
@media (max-width: 480px) {
    .salonimage-slider {
        max-width: 100%;
        margin: 0 auto;  /* کاملاً وسط */
    }
}

.salon-hero.image-slider {
    position: relative;
    margin: 15px auto 0;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    transform: translateY(500px);
}



/* تبلت */
@media (max-width: 1024px) {
    .image-slider {
        max-width: 90%;
        transform: translateY(-300px);
    }
}

/* موبایل بزرگ */
@media (max-width: 768px) {
    .image-slider {
        max-width: 95%;
        transform: translateY(-150px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* موبایل کوچک */
@media (max-width: 480px) {
    .image-slider {
        max-width: 100%;
        transform: translateY(0);
        margin-left: auto;
        margin-right: auto;
    }
}

.slider-container {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 10px;
}

.slider-item {
    flex: 0 0 calc(25% - 7.5px);
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-item.active {
    border-color: #007bff;
    transform: scale(1.05);
}

.slider-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.slider-item:hover img {
    opacity: 0.8;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    right: 10px;
}

.next-btn {
    left: 10px;
}

.slider-btn i {
    color: #333;
    font-size: 14px;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 8px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #007bff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-item {
        flex: 0 0 calc(33.333% - 6.66px);
    }

    .slider-item img {
        height: 70px;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    .slider-item {
        flex: 0 0 calc(50% - 5px);
    }

    .slider-item img {
        height: 60px;
    }

    .slider-btn {
        width: 28px;
        height: 28px;
    }

    .slider-btn i {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .slider-item {
        flex: 0 0 calc(50% - 5px);
    }

    .slider-item img {
        height: 50px;
    }
}

.social-icons-wrapper {
    margin-top: 15px;
    text-align: right;
}

.social-icons {
    display: inline-flex;
    gap: 20px;
    align-items: center;
}

.social-icons a {
    font-size: 32px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #007bff;
    transform: scale(1.2);
}

/* .salon-gallery {
    position: relative;
    margin-bottom: 20px;
} */

.image-slider {
    position: relative;
    margin-top: 15px;
    overflow: hidden;
}

.slider-container {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 10px;
}

.slider-item {
    flex: 0 0 calc(25% - 7.5px);
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-item.active {
    border-color: #007bff;
    transform: scale(1.05);
}

.slider-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.slider-item:hover img {
    opacity: 0.8;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    right: 10px;
}

.next-btn {
    left: 10px;
}

.slider-btn i {
    color: #333;
    font-size: 14px;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 8px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #007bff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-item {
        flex: 0 0 calc(33.333% - 6.66px);
    }

    .slider-item img {
        height: 70px;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    .slider-item {
        flex: 0 0 calc(50% - 5px);
    }

    .slider-item img {
        height: 60px;
    }

    .slider-btn {
        width: 28px;
        height: 28px;
    }

    .slider-btn i {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .slider-item {
        flex: 0 0 calc(50% - 5px);
    }

    .slider-item img {
        height: 50px;
    }
}

.enamad-logo {
    margin-top: 20px;
    text-align: right;
}

.enamad-logo a {
    display: inline-block;
    text-decoration: none;
}

.enamad-img {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.enamad-img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.social-icons-wrapper {
    margin-top: 20px;
}

.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icons a {
    font-size: 30px;
    color: #333;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #007bff;
    transform: scale(1.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Vazir", sans-serif;
}

body {
    background-color: #f0f4f8;
    color: #1c1c1c;
    line-height: 1.6;
}

.content-card {
    background-color: #ffffff;
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-card h2 {
    font-size: 24px;
    color: #0d6efd;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-form .form-row {
    margin-bottom: 20px;
}

.profile-form .form-group {
    display: flex;
    flex-direction: column;
}

.profile-form label {
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 6px;
}

.profile-form .form-input,
.profile-form .form-textarea {
    border: 1px solid #c5d0e6;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.profile-form .form-input:focus,
.profile-form .form-textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 6px rgba(13, 110, 253, 0.3);
    outline: none;
}

.profile-form textarea.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.image-upload-container {
    margin-top: 10px;
}

.upload-area {
    border: 2px dashed #0d6efd;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    background-color: #e7f0ff;
    color: #0d6efd;
}

.upload-area.dragover {
    background-color: #d0e4ff;
    border-color: #0a58ca;
}

.upload-area .upload-content i {
    font-size: 28px;
    margin-bottom: 10px;
}

.upload-area .upload-content p {
    font-weight: 500;
}

.upload-area .upload-content .upload-subtitle {
    display: block;
    font-size: 13px;
    color: #0a58ca;
    margin-top: 6px;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #f1f7ff;
    border-radius: 8px;
    border: 1px solid #c5d0e6;
}

.file-info .file-name {
    font-weight: 500;
    color: #0d6efd;
}

.file-info .file-size {
    font-size: 13px;
    color: #0a58ca;
    margin-left: 10px;
}

.file-info .remove-file-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #dc3545;
    font-size: 16px;
    transition: color 0.2s;
}

.file-info .remove-file-btn:hover {
    color: #a71d2a;
}

.image-preview-container {
    margin-top: 15px;
    border: 1px solid #c5d0e6;
    border-radius: 10px;
    background-color: #f7fbff;
    overflow: hidden;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #0d6efd;
    color: #fff;
    font-weight: 600;
}

.preview-header .close-preview {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.preview-content img {
    width: 100%;
    display: block;
    border-top: 1px solid #c5d0e6;
}

.current-image img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 6px;
    transition: opacity 0.3s;
}

.current-image .form-hint {
    font-size: 13px;
    color: #0a58ca;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
}

.cancel-btn,
.save-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
}

.cancel-btn {
    background-color: #dee2e6;
    color: #495057;
}

.cancel-btn:hover {
    background-color: #cfd4d9;
}

.save-btn {
    background-color: #0d6efd;
    color: #fff;
}

.save-btn:hover {
    background-color: #0a58ca;
}

@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.progress-container {
    margin-bottom: 2rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 0 2rem;
}

.progress-bar {
    position: absolute;
    top: 15px;
    left: 0;
    height: 4px;
    background: #007bff;
    transition: width 0.3s ease;
    z-index: 1;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-item.active .step-number {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.step-item.completed .step-number {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.step-number {
    width: 40px;
    height: 40px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 0.85rem;
    text-align: center;
    color: #6c757d;
}

.step-item.active .step-title {
    color: #007bff;
    font-weight: bold;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-header-section {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.form-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}

.form-icon i {
    font-size: 1.5rem;
    color: white;
}

.form-title h3 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

.form-title p {
    margin: 0.5rem 0 0 0;
    color: #6c757d;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.full-width {
    grid-column: 1 / -1;
}

.custom-form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.required-star {
    color: #e74c3c;
}

.optional-text {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: normal;
}

.input-with-icon {
    position: relative;
}

.input-icon-fixed {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.custom-input {
    padding-right: 15px;
    padding-left: 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    height: 50px;
    transition: all 0.3s ease;
}

.custom-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-submit {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-cancel {
    background: #6c757d;
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-back {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #2c3e50;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.timer-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.salon-info-section {
    background: #f8f9fa !important;
    border-left: 4px solid #007bff !important;
}

.status-info {
    background: rgba(40, 167, 69, 0.1) !important;
    border-left: 4px solid #28a745 !important;
}

.bg-success-light {
    background: rgba(40, 167, 69, 0.1) !important;
}

.custom-alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-header-section {
        flex-direction: column;
        text-align: center;
    }

    .form-icon {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .progress-steps {
        margin: 0 1rem;
    }

    .step-title {
        font-size: 0.75rem;
    }
}

.custom-form-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 25px;
    background: #ffffff;
}

.custom-form-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-bottom: none;
    padding: 20px 25px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.title-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-section i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.card-title {
    margin: 0;
    font-weight: 700;
    font-size: 1.3rem;
}

.btn-back {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
    color: white;
}

.form-container {
    padding: 25px;
}

.form-header-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e3f2fd;
}

.user-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.avatar-circle.large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.active {
    background: #27ae60;
    color: white;
}

.status-badge.rejected {
    background: #e74c3c;
    color: white;
}

.status-badge.inactive {
    background: #95a5a6;
    color: white;
}

.form-title h3 {
    margin: 0 0 6px 0;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.3;
}

.form-title p {
    margin: 0 0 12px 0;
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.user-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #5a6c7d;
}

.info-item i {
    color: #3498db;
    font-size: 0.8rem;
}

.salon-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    margin-bottom: 25px;
}

.salon-info-section h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.salon-info-section .row {
    margin: 0 -10px;
}

.salon-info-section .col-md-6 {
    padding: 0 10px;
    margin-bottom: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.full-width {
    grid-column: 1 / -1;
}

.custom-form-group {
    position: relative;
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.required-star {
    color: #e74c3c;
    margin-right: 4px;
}

.optional-text {
    color: #7f8c8d;
    font-size: 0.8rem;
    font-weight: normal;
}

.input-with-icon {
    position: relative;
}

.custom-input {
    border: 2px solid #e3f2fd;
    border-radius: 10px;
    padding: 12px 15px 12px 45px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafbfc;
    height: auto;
    width: 100%;
    box-sizing: border-box;
}

.custom-input:focus {
    border-color: #3498db;
    background: white;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.15);
    transform: translateY(-1px);
    outline: none;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #3498db;
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
}

.changes-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.changes-preview h5 {
    margin: 0 0 12px 0;
    color: #495057;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.changes-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.change-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5a6c7d;
    font-size: 0.85rem;
}

.change-item i {
    color: #3498db;
    width: 14px;
    font-size: 0.8rem;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #7f8c8d;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    padding-top: 25px;
    border-top: 2px solid #e3f2fd;
    flex-wrap: wrap;
}

.btn-update,
.btn-cancel,
.btn-reset {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
    cursor: pointer;
    flex: 1;
}

.btn-update {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.btn-update:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    color: white;
}

.btn-cancel {
    background: #95a5a6;
    color: white;
}

.btn-cancel:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
    color: white;
}

.btn-reset {
    background: #e67e22;
    color: white;
}

.btn-reset:hover {
    background: #d35400;
    transform: translateY(-2px);
    color: white;
}

.custom-alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    padding: 15px 20px;
}

.alert-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-content i {
    font-size: 1.1rem;
    margin-top: 2px;
}

.alert-danger .alert-content i {
    color: #e74c3c;
}

.alert-success .alert-content i {
    color: #27ae60;
}

.alert-danger ul {
    padding-right: 18px;
    margin-bottom: 0;
}

.alert-danger li {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .form-container {
        padding: 20px;
    }

    .form-header-section {
        gap: 15px;
    }

    .avatar-circle.large {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }

    .form-title h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 10px;
    }

    .custom-form-card {
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .custom-form-header {
        padding: 15px 20px;
    }

    .header-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .title-section {
        justify-content: center;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .btn-back {
        width: 100%;
        max-width: 200px;
    }

    .form-container {
        padding: 15px;
    }

    .form-header-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .avatar-circle.large {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .form-title h3 {
        font-size: 1.2rem;
    }

    .form-title p {
        font-size: 0.9rem;
    }

    .user-info {
        justify-content: center;
        gap: 10px;
    }

    .info-item {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .salon-info-section {
        padding: 12px 15px;
        margin-bottom: 20px;
    }

    .salon-info-section h6 {
        font-size: 0.95rem;
    }

    .salon-info-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .custom-input {
        padding: 10px 12px 10px 40px;
        font-size: 0.9rem;
    }

    .input-icon {
        left: 12px;
        font-size: 0.9rem;
    }

    .changes-preview {
        padding: 15px;
    }

    .changes-preview h5 {
        font-size: 0.95rem;
    }

    .change-item {
        font-size: 0.8rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
        padding-top: 20px;
    }

    .btn-update,
    .btn-cancel,
    .btn-reset {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.85rem;
        min-width: auto;
    }

    .custom-alert {
        padding: 12px 15px;
        margin-bottom: 20px;
    }

    .alert-content {
        gap: 10px;
    }

    .alert-content i {
        font-size: 1rem;
    }

    .alert-danger li {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding: 0 5px;
    }

    .custom-form-header {
        padding: 12px 15px;
    }

    .form-container {
        padding: 12px;
    }

    .form-title h3 {
        font-size: 1.1rem;
    }

    .form-title p {
        font-size: 0.85rem;
    }

    .user-info {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .info-item {
        font-size: 0.75rem;
    }

    .salon-info-section {
        padding: 10px 12px;
    }

    .custom-input {
        padding: 8px 10px 8px 35px;
        font-size: 0.85rem;
    }

    .input-icon {
        left: 10px;
        font-size: 0.85rem;
    }

    .changes-preview {
        padding: 12px;
    }

    .form-hint {
        font-size: 0.75rem;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-form-card {
    animation: slideIn 0.5s ease;
}

.custom-form-group {
    animation: slideIn 0.3s ease;
}

.custom-input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e74c3c;
    background: #fdf2f2;
}

.custom-input:valid:not(:focus):not(:placeholder-shown) {
    border-color: #27ae60;
    background: #f2fdf2;
}

.btn-update.loading {
    position: relative;
    color: transparent;
}

.btn-update.loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.input-changed {
    border-color: #3498db !important;
    background: #f0f8ff !important;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1) !important;
}

.custom-input[readonly] {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
}

.custom-input[readonly]:focus {
    border-color: #dee2e6;
    box-shadow: none;
    transform: none;
}

.invalid-feedback {
    font-size: 0.8rem;
    margin-top: 4px;
}

.custom-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #ffffff;
}

.custom-card-header {
    background: linear-gradient(135deg, #3498db 0%, #1a5276 100%);
    color: white;
    border-bottom: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-weight: 600;
    font-size: 1.3rem;
    color: white;
}

.card-title i {
    margin-left: 10px;
}

.add-btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #2471a3 100%);
}

.custom-table {
    margin-bottom: 0;
    border-radius: 10px;
    overflow: hidden;
}

.custom-thead {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
}

.custom-thead th {
    border: none;
    padding: 15px 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.custom-tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.custom-tr:hover {
    background-color: #f0f8ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.custom-table td {
    padding: 15px 12px;
    vertical-align: middle;
    border: none;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.phone-number {
    direction: ltr;
    text-align: right;
    font-family: "Courier New", monospace;
    font-weight: 500;
    color: #2c3e50;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.badge-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.badge-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.badge-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.action-buttons {
    gap: 5px;
}

.edit-btn,
.delete-btn {
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: none;
}

.edit-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.edit-btn:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-1px);
}

.delete-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.delete-btn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-1px);
}

.btn-text {
    margin-right: 5px;
}

.custom-alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f1b0b7 100%);
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.empty-state {
    padding: 40px 20px;
}

.empty-icon {
    opacity: 0.7;
}

@media (max-width: 992px) {
    .custom-card-header {
        padding: 15px 20px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .custom-table td,
    .custom-table th {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 10px;
    }

    .custom-card {
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .custom-card-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .add-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .custom-table {
        font-size: 0.85rem;
    }

    .custom-thead {
        display: none;
    }

    .custom-tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e3f2fd;
        border-radius: 10px;
        padding: 15px;
        background: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .custom-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #f8f9fa;
        text-align: left;
    }

    .custom-table td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #3498db;
        margin-left: 10px;
        min-width: 120px;
        text-align: right;
    }

    .custom-table td:last-child {
        border-bottom: none;
        justify-content: center;
        padding-top: 15px;
    }

    .avatar-circle {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .btn-text {
        display: none;
    }

    .edit-btn,
    .delete-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .phone-number {
        text-align: left;
        direction: ltr;
    }

    .status-badge {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

@media (max-width: 576px) {
    .custom-card-header {
        padding: 12px 15px;
    }

    .card-title {
        font-size: 1rem;
    }

    .add-btn {
        width: 100%;
        margin-bottom: 10px;
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .empty-state {
        padding: 30px 15px;
    }

    .empty-icon i {
        font-size: 3rem;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .edit-btn,
    .delete-btn {
        width: 100%;
        margin-bottom: 5px;
        justify-content: center;
        padding: 10px;
    }

    .custom-table td {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0;
    }

    .custom-table td:before {
        margin-bottom: 5px;
        min-width: auto;
    }

    .phone-number {
        align-self: flex-start;
    }
}

@media (max-width: 400px) {
    .custom-table td:before {
        font-size: 0.8rem;
    }

    .custom-table td {
        font-size: 0.8rem;
    }

    .avatar-circle {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-card {
    animation: fadeIn 0.5s ease;
}

.custom-tr {
    animation: fadeIn 0.3s ease;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2471a3 100%);
}

.sub1-tabs-container {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.sub1-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.sub1-tab {
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f9f9f9;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.sub1-tab:hover {
    background: #e9e9e9;
}

.sub1-tab.active {
    background: #007bff;
    color: white;
}

.tabs-header {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 5px 15px;
    margin: 0 -10px;
    scroll-padding: 0 10px;
}

.tabs-header::-webkit-scrollbar {
    height: 6px;
}

.tabs-header::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.tabs-header::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 3px;
}

.tabs-header::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

.tabs-header .tab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    flex-grow: 0;
    white-space: nowrap;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    font-weight: 500;
    min-height: 44px;
    transition: all 0.3s ease;
}

.tabs-header .tab:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tabs-header .tab.active {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.tabs-header .tab i {
    font-size: 16px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.tabs-header .tab.active i {
    transform: scale(1.1);
}

.tabs-header .tab span {
    margin-left: 5px;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .tabs-header {
        gap: 6px;
        padding: 8px 5px 12px;
    }

    .tabs-header .tab {
        padding: 8px 12px;
        font-size: 13px;
    }

    .tabs-header .tab i {
        font-size: 15px;
        margin-left: 6px;
    }
}

@media (max-width: 768px) {
    .tabs-header {
        gap: 4px;
        padding: 5px 5px 10px;
        margin: 0 -5px;
    }

    .tabs-header .tab {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        min-width: 50px;
    }

    .tabs-header .tab i {
        margin: 0;
        font-size: 14px;
    }

    .tabs-header .tab span {
        display: none;
        margin-top: 4px;
        font-size: 10px;
        white-space: nowrap;
        text-align: center;
    }

    .tabs-header .tab.active span {
        display: block;
        position: static;
        background: none;
        color: inherit;
        padding: 0;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .tabs-header .tab {
        padding: 6px 8px;
        min-width: 45px;
        min-height: 36px;
    }

    .tabs-header .tab i {
        font-size: 16px;
    }

    .tabs-header .tab span {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .tabs-header {
        gap: 3px;
    }

    .tabs-header .tab {
        padding: 5px;
        min-width: 40px;
        min-height: 34px;
    }

    .tabs-header .tab i {
        font-size: 14px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .tabs-header .tab {
        min-height: 44px;
        min-width: 44px;
    }
}

.tabs-header .tab:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}

@media (prefers-color-scheme: dark) {
    .tabs-header .tab {
        background-color: #2d3748;
        color: #e2e8f0;
        border-color: #4a5568;
    }

    .tabs-header .tab:hover {
        background-color: #4a5568;
    }

    .tabs-header .tab.active {
        background: linear-gradient(135deg, #007bff, #0056b3);
        color: white;
    }
}

.tab {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #6c757d;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.tab:hover {
    background-color: #e9ecef;
    color: #495057;
}

.tab.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background-color: #fff;
}

.tab i {
    margin-left: 8px;
    font-size: 18px;
}

.tab-content {
    padding: 20px;
    display: none;
}

.tab-content.active {
    display: block;
}

@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
    }

    .tab {
        justify-content: flex-start;
        border-bottom: 1px solid #e9ecef;
        border-right: none;
    }

    .tab.active {
        border-bottom: 3px solid #0d6efd;
    }
}

@media (max-width: 480px) {
    .tab {
        padding: 12px 15px;
        font-size: 14px;
    }

    .tab i {
        font-size: 16px;
    }
}

.content-section {
    margin-bottom: 30px;
}

.content-section h2 {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.content-section p {
    margin-bottom: 10px;
}

:root {
    --light-blue: #d0e7ff;
    --primary-blue: #4da6ff;
    --primary-blue-dark: #1a75ff;
    --text-dark: #1a1a1a;
    --border-light: #cdd7e0;
    --bg-light: #f0f7ff;
    --success-color: #34a853;
    --danger-color: #ea4335;
}

.ss-header {
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ss-card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: white;
}

.ss-card-header {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.ss-hairdresser-card {
    border-radius: 10px;
    border: 1px solid var(--border-light);
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ss-hairdresser-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ss-hairdresser-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-blue);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ss-table {
    width: 100%;
    border-collapse: collapse;
}

.ss-table th,
.ss-table td {
    border: 1px solid var(--border-light);
    padding: 0.75rem;
    text-align: right;
    vertical-align: middle;
}

.ss-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.ss-service-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    border-radius: 8px;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

.ss-input {
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 0.25rem 0.5rem;
    color: var(--text-dark);
}

.ss-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(77, 166, 255, 0.25);
}

.ss-btn-save {
    border-radius: 8px;
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    font-weight: 500;
}

.ss-btn-save:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 166, 255, 0.3);
}

.ss-btn-save-all {
    border-radius: 8px;
    background: #80c1ff;
    color: white;
    border: none;
}

.ss-btn-save-all:hover {
    background: #4da6ff;
}

.ss-badge-service,
.ss-badge-hairdresser {
    border-radius: 6px;
    padding: 0.35rem 0.65rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    background: var(--light-blue);
    color: var(--text-dark);
}

.ss-alert {
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
}

.ss-alert-success {
    background: rgba(52, 168, 83, 0.1);
    border-right: 4px solid var(--success-color);
    color: #155724;
}

.ss-alert-danger {
    background: rgba(234, 67, 53, 0.1);
    border-right: 4px solid var(--danger-color);
    color: #721c24;
}

.ss-empty-state i {
    font-size: 3rem;
    color: var(--primary-blue);
}

.resend-button {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4),
        0 2px 8px rgba(255, 255, 255, 0.2) inset,
        0 -2px 6px rgba(0, 0, 0, 0.1) inset;
    min-width: 180px;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.resend-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.8s ease;
}

.resend-button:hover:not(:disabled)::before {
    left: 100%;
}

.resend-button:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6),
        0 4px 12px rgba(255, 255, 255, 0.3) inset,
        0 -3px 10px rgba(0, 0, 0, 0.15) inset;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 50%, #f093fb 100%);
}

.resend-button:active:not(:disabled) {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4),
        0 2px 6px rgba(255, 255, 255, 0.2) inset,
        0 -1px 4px rgba(0, 0, 0, 0.1) inset;
    transition: all 0.1s ease;
}

.resend-button:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.button-content,
.loading-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.button-icon {
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.resend-button:hover:not(:disabled) .button-icon {
    transform: rotate(45deg);
}

.button-text {
    letter-spacing: 0.5px;
}

.advanced-spinner {
    position: relative;
    width: 20px;
    height: 20px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.spinner-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    letter-spacing: 0.5px;
}

.button-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.resend-button:hover:not(:disabled) .button-shine {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.timer-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #4a5568;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1) inset;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.timer-icon {
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.timer-digits {
    color: #e53e3e;
    font-weight: 800;
    font-size: 16px;
    direction: ltr;
    display: inline-block;
    min-width: 22px;
    text-align: center;
    background: rgba(229, 62, 62, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.resend-button {
    animation: buttonEntrance 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes buttonEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .resend-button {
        padding: 14px 24px;
        min-width: 160px;
        font-size: 14px;
    }

    .timer-container {
        padding: 10px 16px;
        font-size: 13px;
    }
}

.tab {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #6c757d;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.tab:hover {
    background-color: #e9ecef;
    color: #495057;
}

.tab.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background-color: #fff;
}

.tab i {
    margin-left: 8px;
    font-size: 18px;
}

.tab-content {
    padding: 20px;
    display: none;
}

.tab-content.active {
    display: block;
}

@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
    }

    .tab {
        justify-content: flex-start;
        border-bottom: 1px solid #e9ecef;
        border-right: none;
    }

    .tab.active {
        border-bottom: 3px solid #0d6efd;
    }
}

@media (max-width: 480px) {
    .tab {
        padding: 12px 15px;
        font-size: 14px;
    }

    .tab i {
        font-size: 16px;
    }
}

.content-section {
    margin-bottom: 30px;
}

.content-section h2 {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.content-section p {
    margin-bottom: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.page-header h1 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
}

.schedule-edit-page {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.alert {
    padding: 15px 20px;
    margin: 0;
    border-radius: 0;
    border: none;
    background: #e3f2fd;
    color: #1565c0;
    border-bottom: 1px solid #bbdefb;
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
}

.schedule-table-container {
    overflow-x: auto;
}

.edit-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.edit-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 16px;
}

.edit-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    transition: background-color 0.3s ease;
}

.edit-table tr:hover td {
    background-color: #f8f9fa;
}

.day-cell {
    background: #f8f9fa;
    font-weight: 700;
    width: 140px;
    text-align: center;
    color: #495057;
    font-size: 16px;
    border-right: 2px solid #e9ecef;
    position: relative;
}

.shift-column {
    width: 320px;
}

.shift-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    color: white;
}

.shift-title i {
    font-size: 18px;
}

.shift-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.time-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 240px;
}

.time-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-input-group label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 600;
    text-align: center;
}

.time-input {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.time-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.time-input:not([disabled]) {
    background: #ffffff;
    color: #000;
    border-color: #007bff;
    cursor: pointer;
}

.time-input[disabled] {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    border-color: #e9ecef;
    opacity: 0.7;
}

.time-input:not([disabled]):hover {
    border-color: #0056b3;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.form-actions {
    padding: 25px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.day-errors {
    margin-top: 10px;
    padding: 8px;
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    font-size: 12px;
}

.error-message-small {
    color: #dc3545;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message-small i {
    font-size: 10px;
}

.time-input.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.time-input.warning {
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1) !important;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .page-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .page-header h1 {
        font-size: 20px;
    }

    .edit-table {
        min-width: 500px;
    }

    .edit-table th {
        padding: 15px 10px;
        font-size: 14px;
    }

    .edit-table td {
        padding: 15px 10px;
    }

    .day-cell {
        width: 100px;
        font-size: 14px;
    }

    .shift-column {
        width: 200px;
    }

    .time-inputs {
        max-width: 180px;
    }

    .time-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .form-actions {
        flex-direction: column;
        padding: 20px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.schedule-edit-page {
    animation: fadeIn 0.5s ease-out;
}

.day-off {
    background-color: #fff5f5 !important;
}

.day-off .day-cell {
    background-color: #ffe6e6;
    color: #dc3545;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-outline:hover {
    background: #6c757d;
    color: white;
}

.time-overlap {
    background-color: #fff5f5 !important;
    border-left: 4px solid #dc3545 !important;
}

.overlap-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease-out;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.global-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    text-align: center;
}

.holiday-row-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 10px;
}

.holiday-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto auto;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.holiday-row:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.holiday-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.holiday-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.holiday-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.time-range-badge,
.full-day-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.time-range-badge {
    background: #e3f2fd;
    color: #1976d2;
}

.full-day-badge {
    background: #fff3e0;
    color: #f57c00;
}

.holiday-actions {
    display: flex;
    align-items: center;
}

.btn-edit {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.holiday-arrow {
    color: #6c757d;
    font-size: 14px;
}

.holiday-row:hover .holiday-arrow {
    color: #333;
    transform: translateX(-3px);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .holiday-row {
        grid-template-columns: 1fr;
    }

    .holiday-actions {
        justify-content: flex-start;
        margin-top: 10px;
    }
}

.create-exception-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.tab-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    padding: 8px 0;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    transition: border-color 0.3s ease;
}

.radio-label:hover .radio-custom {
    border-color: #007bff;
}

.radio-label input:checked + .radio-custom {
    border-color: #007bff;
}

.radio-label input:checked + .radio-custom::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #007bff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.time-fields {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-cancel,
.btn-save {
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-cancel {
    background: #6c757d;
}
.btn-cancel:hover {
    background: #5a6268;
}

.btn-save {
    background: #28a745;
}
.btn-save:hover {
    background: #218838;
}

@media (max-width: 768px) {
    .create-exception-container {
        padding: 15px;
        margin: 10px;
    }

    .tab-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .form-row {
        flex-direction: column;
    }

    .time-fields {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-save {
        width: 100%;
    }
}

.edit-exception-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    padding: 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.form-control:read-only {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
}

.radio-label input:checked + .radio-custom::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #007bff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.time-fields {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.btn-cancel,
.btn-save {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    color: #fff;
}

.btn-cancel {
    background: #6c757d;
}

.btn-cancel:hover {
    background: #5a6268;
}

.btn-save {
    background: #007bff;
}

.btn-save:hover {
    background: #0056b3;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .time-fields {
        flex-direction: column;
    }
}

.salon-schedule-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.salon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 15px;
}

.salon-info-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.salon-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.salon-details h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.salon-address {
    margin: 5px 0 0 0;
    color: #6c757d;
    font-size: 14px;
}

.btn-add-holiday {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-add-holiday:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.holidays-section {
    margin-top: 15px;
    overflow-x: auto;
}

.holidays-header {
    margin-bottom: 15px;
}

.holidays-title {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.holidays-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.holidays-table thead {
    background: #f8f9fa;
}

.holidays-table th {
    padding: 12px 15px;
    text-align: right;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

.holidays-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    text-align: right;
    vertical-align: middle;
}

.holidays-table tbody tr {
    transition: all 0.3s ease;
}

.holidays-table tbody tr:hover {
    background-color: #f8f9fa;
}

.time-range-badge,
.full-day-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.time-range-badge {
    background: #e3f2fd;
    color: #1976d2;
}

.full-day-badge {
    background: #fff3e0;
    color: #f57c00;
}

.actions-column {
    width: 150px;
}

.actions-cell {
    white-space: nowrap;
}

.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-edit {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    min-width: 80px;
    justify-content: center;
}

.btn-edit:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #adb5bd;
}

.empty-state p {
    margin: 0;
    font-size: 16px;
}

@media (max-width: 992px) {
    .salon-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .salon-schedule-section {
        padding: 15px;
    }

    .holidays-table {
        min-width: unset;
    }

    .holidays-table thead {
        display: none;
    }

    .holidays-table tbody,
    .holidays-table tr,
    .holidays-table td {
        display: block;
        width: 100%;
    }

    .holidays-table tr {
        margin-bottom: 15px;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 10px;
        background: #f8f9fa;
    }

    .holidays-table td {
        text-align: left;
        padding: 8px 10px;
        border-bottom: 1px solid #dee2e6;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .holidays-table td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #495057;
        margin-left: 10px;
    }

    .actions-cell {
        justify-content: flex-start !important;
        border-bottom: none !important;
    }

    .action-buttons {
        width: 100%;
        justify-content: center;
    }

    .btn-edit {
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .salon-info-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .salon-details h3 {
        font-size: 16px;
    }

    .salon-address {
        font-size: 13px;
    }

    .btn-add-holiday {
        width: 100%;
        justify-content: center;
    }

    .btn-edit {
        font-size: 13px;
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .btn-edit {
        font-size: 12px;
        padding: 10px 6px;
    }
}

.edit-exception-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.btn-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #5a6268;
}

.btn-save {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-save:hover {
    background: #0056b3;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.form-control:read-only {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.form-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 9999px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    font-weight: 500;
    background-color: #fff;
}

.radio-label:hover {
    background-color: #f0f0f0;
}

.radio-label.selected {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.radio-label input {
    display: none;
}

.radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.radio-label input:checked + .radio-custom {
    border-color: #fff;
    background-color: #fff;
}

.time-fields .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.form-actions .btn-cancel,
.form-actions .btn-save {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .salon-gallery {
        width: auto;
        margin: auto;
        padding:auto ;
    }
    .form-row {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn-cancel,
    .form-actions .btn-save {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .radio-label {
        padding: 8px 14px;
        font-size: 14px;
    }

    .radio-custom {
        width: 14px;
        height: 14px;
    }

    .form-control {
        font-size: 14px;
        padding: 8px 10px;
    }

    .btn-cancel,
    .btn-save {
        padding: 10px 0;
        font-size: 14px;
    }
}

.shift-header {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 14px;
}

.morning-shift {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffd166;
    color: #856404;
}

.evening-shift {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 1px solid #86cfda;
    color: #0c5460;
}

.time-slot {
    padding: 10px 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slot.active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.time-slot.inactive {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px dashed #dee2e6;
    font-style: italic;
}

.day-off {
    background-color: #fff5f5;
}

.day-off .day-cell {
    background-color: #ffe6e6;
}

.day-off-badge {
    display: block;
    font-size: 12px;
    color: #dc3545;
    margin-top: 5px;
    font-weight: normal;
}

.day-info {
    text-align: center;
}

.day-info strong {
    display: block;
    margin-bottom: 5px;
}

