/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #2d5016;
    --secondary-color: #4a7c59;
    --accent-color: #4CAF50;
    --cream-color: #f8f6f0;
    --text-color: #333;
    --light-text: #666;
    --text-dark: #333;
    --text-muted: #666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --border-color: #e0e0e0;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #f5f5dc 0%, #8fbc8f 100%);
    color: #2d5016;
    position: relative;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* ===== LOGO STYLES ===== */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.logo-image {
    max-width: 320px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.logo-symbol {
    width: 35px;
    height: 35px;
    background: #4CAF50;
    border-radius: 50%;
    position: relative;
    margin-bottom: 0.2rem;
}

.logo-symbol::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: #4CAF50;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.logo-symbol::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
}

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

.logo-brand {
    font-size: 1.3rem;
    font-weight: bold;
    color: #008080;
    letter-spacing: 1.5px;
    margin-bottom: 0.1rem;
}

.logo-tagline {
    font-size: 0.7rem;
    color: #4CAF50;
    letter-spacing: 0.8px;
}

/* ===== NAVIGATION STYLES ===== */
.nav-container {
    background: rgba(45, 80, 22, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-menu li {
    position: relative;
    white-space: nowrap;
}

.nav-menu a {
    color: #f5f5dc;
    text-decoration: none;
    padding: 0.75rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.nav-menu a i {
    font-size: 0.9rem;
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(45, 80, 22, 0.95);
    min-width: 220px;
    border-radius: 15px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #f5f5dc;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: #4CAF50;
}

/* ===== BREADCRUMB STYLES ===== */
.breadcrumb-nav {
    background: linear-gradient(135deg, #f8f6f0 0%, #e8f5e8 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-link {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    background: rgba(74, 124, 89, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
}

.breadcrumb-link:hover {
    background: rgba(74, 124, 89, 0.2);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    background: rgba(45, 80, 22, 0.1);
    border-radius: 20px;
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-separator {
    color: var(--light-text);
    font-size: 0.8rem;
    margin: 0 0.25rem;
    opacity: 0.6;
}

.breadcrumb-link i,
.breadcrumb-current i {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.breadcrumb-current i {
    color: var(--primary-color);
}

/* Breadcrumb responsive */
@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 0.75rem 0;
        margin-bottom: 1.5rem;
    }
    
    .breadcrumb-list {
        gap: 0.25rem;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .breadcrumb-separator {
        margin: 0 0.15rem;
    }
}

/* ===== ADMIN CATEGORY MANAGEMENT STYLES ===== */
.admin-categories-content {
    padding: 2rem 0;
}

.categories-header {
    text-align: center;
    margin-bottom: 3rem;
}

.categories-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.categories-header p {
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.category-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.category-actions {
    display: flex;
    gap: 0.5rem;
}

.category-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.category-slug {
    color: var(--light-text);
    font-family: monospace;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.category-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.category-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.sort-order {
    color: var(--light-text);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

/* Category Form Styles */
#addCategoryForm,
#editCategoryForm {
    max-width: 100%;
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== ADMIN NAVIGATION STYLES ===== */
.nav-menu.admin-nav {
    background: linear-gradient(135deg, #1a3d0f 0%, #2d5016 100%);
    border-radius: 15px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-menu.admin-nav a {
    color: #f8f6f0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.nav-menu.admin-nav a:hover,
.nav-menu.admin-nav a.active {
    background: rgba(76, 175, 80, 0.8);
    color: #fff;
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.nav-menu.admin-nav .dropdown-menu {
    background: rgba(26, 61, 15, 0.98);
    border: 2px solid #4CAF50;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.nav-menu.admin-nav .dropdown-menu a {
    background: transparent;
    border: none;
    color: #f8f6f0;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

.nav-menu.admin-nav .dropdown-menu a:hover {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-left: 3px solid #4CAF50;
}



/* Admin navigation responsive */
@media (max-width: 768px) {
    .nav-menu.admin-nav {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .nav-menu.admin-nav a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #f5f5dc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: rgba(45, 80, 22, 0.9);
    color: #f5f5dc;
    padding: 3rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== HOMEPAGE SPECIFIC STYLES ===== */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
    border-radius: 15px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2d5016;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #4a7c59;
}

.spiritual-symbols {
    font-size: 2rem;
    margin: 1rem 0;
    opacity: 0.8;
}

.services {
    padding: 4rem 0;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5016;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #4a7c59;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    background: #4a7c59;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid #4a7c59;
}

.btn:hover {
    background: transparent;
    color: #4a7c59;
}

/* ===== ABOUT PAGE SPECIFIC STYLES ===== */
.about-content {
    padding: 2rem 0;
}

.about-section {
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
    border-radius: 15px;
    padding: 2rem;
}

.about-section h2 {
    color: #2d5016;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.about-section h3 {
    color: #008080;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.2rem;
    color: #4a7c59;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.mission-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #4CAF50;
}

.founder-profile {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.founder-image {
    flex: 0 0 300px;
    position: relative;
}

.founder-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(45, 80, 22, 0.2);
    border: 3px solid rgba(76, 175, 80, 0.3);
    display: none;
}

.founder-image-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(45, 80, 22, 0.1));
    border: 2px dashed rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #2d5016;
}

.founder-image-placeholder i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.founder-image-placeholder p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.founder-image-placeholder small {
    color: #666;
    font-size: 0.9rem;
}

.founder-info {
    flex: 1;
}

.founder-info h3 {
    color: #008080;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: left;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 1rem;
}

.founder-credentials {
    list-style: none;
    margin: 0;
    padding: 0;
}

.founder-credentials li {
    background: rgba(74, 124, 89, 0.1);
    padding: 1rem;
    margin: 0.8rem 0;
    border-radius: 10px;
    border-left: 4px solid #4a7c59;
    color: #2d5016;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.founder-credentials li:hover {
    background: rgba(74, 124, 89, 0.2);
    transform: translateX(5px);
}

.founder-credentials i {
    color: #4CAF50;
    width: 20px;
    text-align: center;
}

.founder-credentials a {
    color: #008080;
    text-decoration: none;
    font-weight: 500;
}

.founder-credentials a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

.method-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #4CAF50;
}

/* ===== CONTACT PAGE SPECIFIC STYLES ===== */
.contact-content {
    padding: 2rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info-section,
.contact-form-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-info-section h2,
.contact-form-section h2 {
    color: #2d5016;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 0.5rem;
}

.address-box {
    background: rgba(74, 124, 89, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.address-box p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    color: #2d5016;
    font-size: 1.1rem;
}

.address-box i {
    color: #4CAF50;
    width: 20px;
    text-align: center;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-group {
    background: rgba(74, 124, 89, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #4CAF50;
}

.contact-group h3 {
    color: #008080;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(74, 124, 89, 0.3);
    padding-bottom: 0.5rem;
}

.contact-group p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    color: #2d5016;
}

.contact-group i {
    color: #4CAF50;
    width: 20px;
    text-align: center;
}

.contact-form {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #2d5016;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #4a7c59;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4a7c59;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.btn-primary {
    background: #4CAF50;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    text-decoration: none;
}

.btn-primary:hover {
    background: #2d5016;
    transform: translateY(-2px);
}

.map-section {
    text-align: center;
    margin-top: 3rem;
}

.map-section h2 {
    color: #2d5016;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px dashed #4CAF50;
}

.map-placeholder i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.map-placeholder p {
    color: #4a7c59;
    margin-bottom: 0.5rem;
}

.map-placeholder small {
    color: #6c757d;
    font-style: italic;
}

/* ===== AUTHENTICATION PAGES STYLES ===== */
.auth-content {
    padding: 2rem 0;
    min-height: 80vh;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.auth-form-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: #2d5016;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.auth-header p {
    color: #4a7c59;
    font-size: 1.1rem;
    line-height: 1.6;
}

.auth-form {
    margin-bottom: 2rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #2d5016;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #4CAF50;
    z-index: 10;
    pointer-events: none;
    font-size: 1rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    background: white;
}

.input-group select {
    cursor: pointer;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak { width: 25%; background: #dc3545; }
.strength-fill.fair { width: 50%; background: #ffc107; }
.strength-fill.good { width: 75%; background: #17a2b8; }
.strength-fill.strong { width: 100%; background: #28a745; }

.strength-text {
    font-size: 0.85rem;
    color: #6c757d;
}

.form-options {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4a7c59;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-label a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: #4CAF50;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    float: right;
    margin-top: -2rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-social {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    background: white;
    color: #2d5016;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-google:hover {
    border-color: #db4437;
    color: #db4437;
    background: rgba(219, 68, 55, 0.05);
}

.btn-facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
    background: rgba(66, 103, 178, 0.05);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
}

.auth-footer p {
    margin-bottom: 0.8rem;
    color: #4a7c59;
}

.auth-footer a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-info {
    background: rgba(45, 80, 22, 0.9);
    color: #f5f5dc;
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-content h3 {
    color: #4CAF50;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.benefits-list,
.help-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li,
.help-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefits-list li:hover,
.help-list li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.benefits-list i,
.help-list i {
    color: #4CAF50;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.spiritual-quote {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border-left: 4px solid #4CAF50;
}

.spiritual-quote blockquote {
    font-style: italic;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.spiritual-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: right;
}

.auth-info-box {
    background: rgba(76, 175, 80, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.auth-info-box h4 {
    color: #2d5016;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reset-steps {
    margin: 0;
    padding-left: 1.5rem;
    color: #4a7c59;
}

.reset-steps li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.contact-support {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.contact-support h4 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.contact-support p {
    margin-bottom: 1rem;
    color: #f5f5dc;
}

.support-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.support-contact i {
    color: #4CAF50;
    width: 16px;
}

/* ===== USER DASHBOARD STYLES ===== */
.dashboard-content {
    padding: 2rem 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.welcome-section h2 {
    color: #2d5016;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.welcome-section p {
    color: #4a7c59;
    font-size: 1.1rem;
    margin: 0;
}

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

.btn-secondary {
    background: transparent;
    color: #4a7c59;
    border: 2px solid #4a7c59;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: #4a7c59;
    color: white;
}

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

.dashboard-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dashboard-section.full-width {
    grid-column: 1 / -1;
}

.dashboard-section h3 {
    color: #2d5016;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 0.5rem;
}

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

.stat-card {
    background: rgba(76, 175, 80, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-content h4 {
    color: #2d5016;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.stat-content p {
    color: #4a7c59;
    font-size: 0.9rem;
    margin: 0;
}

.no-bookings {
    text-align: center;
    padding: 3rem 2rem;
}

.no-bookings i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.no-bookings h4 {
    color: #2d5016;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-bookings p {
    color: #4a7c59;
    margin-bottom: 2rem;
}

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

.quick-action-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quick-action-card:hover {
    transform: translateY(-5px);
    border-color: #4CAF50;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.quick-action-card i {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.quick-action-card h4 {
    color: #2d5016;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.quick-action-card p {
    color: #4a7c59;
    font-size: 0.9rem;
    margin: 0;
}

.insight-card {
    background: rgba(45, 80, 22, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #4CAF50;
}

.insight-card blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: #2d5016;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.insight-card cite {
    color: #4a7c59;
    font-size: 0.9rem;
    font-style: normal;
}

.activity-timeline {
    padding: 1rem 0;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin-bottom: 1rem;
    border-left: 4px solid #4CAF50;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon i {
    color: white;
    font-size: 1rem;
}

.activity-content h4 {
    color: #2d5016;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.activity-content p {
    color: #4a7c59;
    margin-bottom: 0.5rem;
}

.activity-time {
    color: #6c757d;
    font-size: 0.85rem;
    font-style: italic;
}

/* ===== ADMIN PANEL STYLES ===== */
.admin-content {
    padding: 2rem 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.admin-welcome h2 {
    color: #2d5016;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.admin-welcome p {
    color: #4a7c59;
    font-size: 1.1rem;
    margin: 0;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
}

.admin-actions .btn-admin,
.admin-actions .btn-admin-secondary {
    margin: 0;
    flex-shrink: 0;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.admin-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.admin-section.full-width {
    grid-column: 1 / -1;
}

.admin-section h3 {
    color: #2d5016;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 0.5rem;
}

.system-status {
    padding: 1rem 0;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #4CAF50;
}

.status-label {
    font-weight: 600;
    color: #2d5016;
}

.status-indicator {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-indicator.online {
    background: #d4edda;
    color: #155724;
}

.status-indicator.offline {
    background: #f8d7da;
    color: #721c24;
}

.bookings-table {
    overflow-x: auto;
}

.bookings-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bookings-table th {
    background: #4CAF50;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.bookings-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.bookings-table tr:hover {
    background: rgba(76, 175, 80, 0.05);
}

.no-data {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.no-data i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* ===== BOOKING SYSTEM STYLES ===== */
.booking-content {
    padding: 2rem 0;
}

.booking-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.booking-header {
    text-align: center;
    margin-bottom: 3rem;
}

.booking-header h2 {
    color: #2d5016;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.booking-header p {
    color: #4a7c59;
    font-size: 1.2rem;
}

.booking-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #4CAF50;
    color: white;
}

.step-title {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.booking-step {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.booking-step h3 {
    color: #2d5016;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.service-option {
    position: relative;
}

.service-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-card {
    display: block;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    border-color: #4CAF50;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-option input[type="radio"]:checked + .service-card {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h4 {
    color: #2d5016;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #4a7c59;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
}

.duration {
    color: #666;
    font-size: 0.9rem;
}

.datetime-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.date-selection,
.time-selection {
    display: flex;
    flex-direction: column;
}

.date-selection label,
.time-selection label {
    color: #2d5016;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.date-selection input,
.time-selection select {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.date-selection input:focus,
.time-selection select:focus {
    outline: none;
    border-color: #4CAF50;
}

.notes-section {
    margin-bottom: 2rem;
}

.notes-section label {
    color: #2d5016;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.notes-section textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.notes-section textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.booking-summary {
    background: rgba(76, 175, 80, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.booking-summary h4 {
    color: #2d5016;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
}

.summary-item.total {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2d5016;
    border-bottom: none;
    border-top: 2px solid #4CAF50;
    margin-top: 1rem;
    padding-top: 1rem;
}

.payment-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.payment-info h4 {
    color: #2d5016;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.payment-details {
    background: rgba(76, 175, 80, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.payment-details p {
    margin-bottom: 0.5rem;
    color: #2d5016;
}

.payment-note {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 1rem;
    border-radius: 10px;
}

.payment-note p {
    margin: 0;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.step-actions .btn {
    flex: 1;
    max-width: 200px;
}

/* ===== SHOP STYLES ===== */
.shop-content {
    padding: 2rem 0;
    position: relative;
}

.shop-header {
    text-align: center;
    margin-bottom: 3rem;
}

.shop-header h2 {
    color: #2d5016;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.shop-header p {
    color: #4a7c59;
    font-size: 1.2rem;
}

.shop-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.filter-section h3 {
    color: #2d5016;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #4CAF50;
    background: #4CAF50;
    color: white;
}

.search-section {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-input {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    width: 300px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #4CAF50;
}

.search-btn {
    padding: 0.8rem 1rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #45a049;
}

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

.product-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: #2d5016;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.product-info p {
    color: #4a7c59;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 1.5rem;
}

.add-to-cart {
    width: 100%;
    padding: 1rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e0e0e0;
    background: #4CAF50;
    color: white;
}

.cart-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

.item-info h4 {
    color: #2d5016;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.item-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.remove-btn:hover {
    background: #c82333;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.cart-total {
    font-size: 1.3rem;
    color: #2d5016;
    margin-bottom: 1rem;
    text-align: center;
}

.cart-toggle {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cart-toggle:hover {
    background: #45a049;
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* ===== CHAT SYSTEM STYLES ===== */
.messages-content {
    padding: 2rem 0;
}

.messages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.messages-header {
    text-align: center;
    margin-bottom: 3rem;
}

.messages-header h2 {
    color: #2d5016;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.messages-header p {
    color: #4a7c59;
    font-size: 1.2rem;
}

.chat-interface {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    height: 600px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-sidebar {
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    background: #4CAF50;
    color: white;
}

.chat-header h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.new-chat-btn {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.new-chat-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.chat-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-item:hover {
    background: rgba(76, 175, 80, 0.1);
}

.chat-item.active {
    background: rgba(76, 175, 80, 0.2);
    border-right: 3px solid #4CAF50;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.chat-info {
    flex: 1;
    min-width: 0;
}

.chat-info h4 {
    color: #2d5016;
    font-size: 1rem;
    margin: 0 0 0.3rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-info p {
    color: #666;
    font-size: 0.85rem;
    margin: 0 0 0.3rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-time {
    color: #999;
    font-size: 0.75rem;
}

.chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-window {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: white;
}

.message-group {
    margin-bottom: 1.5rem;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 80%;
}

.user-message {
    flex-direction: row-reverse;
    margin-left: auto;
}

.admin-message {
    margin-right: auto;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-message .message-avatar {
    background: #4CAF50;
    color: white;
}

.user-message .message-avatar {
    background: #6c757d;
    color: white;
}

.message-content {
    flex: 1;
    min-width: 0;
}

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

.sender-name {
    font-weight: 600;
    color: #2d5016;
    font-size: 0.9rem;
}

.message-time {
    color: #999;
    font-size: 0.75rem;
}

.message-text {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 15px;
    color: #333;
    line-height: 1.5;
    word-wrap: break-word;
}

.user-message .message-text {
    background: #4CAF50;
    color: white;
}

.typing-indicator {
    opacity: 0.7;
}

.typing-dots {
    display: flex;
    gap: 0.3rem;
    padding: 1rem;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-input {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.input-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-container textarea {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    resize: none;
    transition: border-color 0.3s ease;
}

.input-container textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.send-btn {
    width: 50px;
    height: 50px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.send-btn:hover {
    background: #45a049;
    transform: scale(1.05);
}

.input-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.5rem 1rem;
    background: white;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.action-btn:hover {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

/* ===== ADMIN LOGIN STYLES ===== */
.admin-login-content {
    padding: 2rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.admin-login-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.admin-login-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.admin-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #2d5016);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.admin-logo i {
    font-size: 2.5rem;
    color: white;
}

.admin-header h2 {
    color: #2d5016;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.admin-header p {
    color: #4a7c59;
    font-size: 1.1rem;
}

.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    color: #2d5016;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Duplicate input-group styles removed - using main definition above */

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #4a7c59;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.password-toggle:hover {
    background: rgba(76, 175, 80, 0.1);
}

.form-options {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    color: #4a7c59;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4CAF50;
}

.btn-admin {
    background: linear-gradient(135deg, #4CAF50, #2d5016);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.admin-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.admin-footer p {
    margin-bottom: 0.5rem;
}

.admin-footer a {
    color: #4a7c59;
    text-decoration: none;
    transition: color 0.3s ease;
}

.admin-footer a:hover {
    color: #2d5016;
}

.admin-info {
    background: rgba(45, 80, 22, 0.1);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.info-content h3 {
    color: #2d5016;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.admin-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.admin-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.admin-features li:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(5px);
}

.admin-features li i {
    color: #4CAF50;
    font-size: 1.2rem;
    width: 20px;
}

.admin-quote {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #4CAF50;
}

.admin-quote blockquote {
    font-style: italic;
    color: #2d5016;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.admin-quote cite {
    color: #4a7c59;
    font-size: 0.9rem;
    font-style: normal;
}

/* ===== ADMIN SETTINGS STYLES ===== */
/* Note: Comprehensive admin settings styles are defined later in the file */

.settings-form input:focus,
.settings-form textarea:focus,
.settings-form select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.settings-form textarea {
    resize: vertical;
    min-height: 100px;
}

.settings-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    color: #4a7c59;
    margin-bottom: 0;
}

.settings-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4CAF50;
}

/* Admin Panel Button Styles */
.btn-admin {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-admin:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-admin-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-admin-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-warning {
    background: #ffc107;
    color: #212529;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

.maintenance-actions {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.maintenance-actions h4 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.system-info {
    background: rgba(45, 80, 22, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(45, 80, 22, 0.2);
}

.system-info h4 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.info-label {
    font-weight: 600;
    color: #2d5016;
}

.info-value {
    color: #4a7c59;
    font-family: monospace;
}

/* ===== ADMIN PAGES STYLES ===== */
.admin-users-content,
.admin-bookings-content,
.admin-services-content,
.admin-messages-content,
.admin-products-content,
.admin-content-content {
    padding: 2rem 0;
}

.admin-users-container,
.admin-bookings-container,
.admin-services-container,
.admin-messages-container,
.admin-products-container,
.admin-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.users-header,
.bookings-header,
.services-header,
.messages-header,
.products-header,
.content-header {
    text-align: center;
    margin-bottom: 3rem;
}

.users-header h2,
.bookings-header h2,
.services-header h2,
.messages-header h2,
.products-header h2,
.content-header h2 {
    color: #2d5016;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.users-header p,
.bookings-header p,
.services-header p,
.messages-header p,
.products-header p,
.content-header p {
    color: #4a7c59;
    font-size: 1.2rem;
}

.users-actions,
.bookings-actions,
.products-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-section {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-input {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    width: 300px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #4CAF50;
}

.search-btn {
    padding: 0.8rem 1rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #45a049;
}

.filter-section {
    display: flex;
    gap: 1rem;
}

.filter-select {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #4CAF50;
}

.users-table-container,
.bookings-table-container,
.products-table-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.users-table,
.bookings-table,
.products-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.users-table th,
.bookings-table th,
.products-table th {
    background: #4CAF50;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.users-table td,
.bookings-table td,
.products-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.users-table tr:hover,
.bookings-table tr:hover,
.products-table tr:hover {
    background: rgba(76, 175, 80, 0.05);
}

.role-badge,
.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.role-badge.admin {
    background: #dc3545;
    color: white;
}

.role-badge.user {
    background: #6c757d;
    color: white;
}

.status-badge.active {
    background: #28a745;
    color: white;
}

.status-badge.inactive {
    background: #6c757d;
    color: white;
}

.status-badge.pending {
    background: #ffc107;
    color: #212529;
}

.status-badge.confirmed {
    background: #28a745;
    color: white;
}

.btn-action {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.btn-action.edit {
    color: #007bff;
}

.btn-action.edit:hover {
    background: rgba(0, 123, 255, 0.1);
}

.btn-action.view {
    color: #28a745;
}

.btn-action.view:hover {
    background: rgba(40, 167, 69, 0.1);
}

.btn-action.delete {
    color: #dc3545;
}

.btn-action.delete:hover {
    background: rgba(220, 53, 69, 0.1);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.service-header h3 {
    color: #2d5016;
    font-size: 1.3rem;
    margin: 0;
}

.service-details p {
    margin-bottom: 0.5rem;
    color: #4a7c59;
}

.service-description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.service-description p {
    color: #666;
    font-style: italic;
}

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

.content-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-form {
    margin-top: 1rem;
}

.content-form .form-group {
    margin-bottom: 1.5rem;
}

.content-form label {
    display: block;
    color: #2d5016;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.content-form input,
.content-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.content-form input:focus,
.content-form textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.content-form textarea {
    resize: vertical;
    min-height: 100px;
}

.no-messages,
.no-active-chat {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.no-messages i,
.no-active-chat i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.no-messages h4,
.no-active-chat h4 {
    color: #2d5016;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== ADMIN MESSAGES ENHANCED STYLES ===== */
.admin-messages-content {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f6f0 0%, #e8f5e8 100%);
    min-height: calc(100vh - 200px);
}

.admin-messages-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.messages-header {
    text-align: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.messages-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.messages-header h2 i {
    color: var(--accent-color);
    font-size: 2.2rem;
}

.messages-header p {
    color: var(--light-text);
    font-size: 1.2rem;
    margin: 0;
}

/* Enhanced Chat Interface */
.chat-interface {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    height: 500px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(76, 175, 80, 0.1);
    margin-bottom: 2rem;
}

.chat-sidebar {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    border-right: 2px solid rgba(76, 175, 80, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    max-height: 100%;
    overflow: hidden;
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 2px solid rgba(76, 175, 80, 0.2);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
}

.chat-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #ffd700);
}

.chat-header h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.chat-header .new-chat-btn {
    width: 100%;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.chat-header .new-chat-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.chat-header .new-chat-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.chat-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.chat-list::-webkit-scrollbar {
    width: 6px;
}

.chat-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.chat-list::-webkit-scrollbar-thumb {
    background: rgba(76, 175, 80, 0.3);
    border-radius: 3px;
}

.chat-list::-webkit-scrollbar-thumb:hover {
    background: rgba(76, 175, 80, 0.5);
}

.chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
}

.chat-window {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-messages {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(76, 175, 80, 0.3);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(76, 175, 80, 0.5);
}

/* Enhanced No Messages States */
.no-messages,
.no-active-chat {
    text-align: center;
    padding: 1.8rem 1.5rem;
    color: var(--light-text);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.15) 100%);
    border-radius: 20px;
    border: 3px dashed var(--primary-color);
    margin: 1rem;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.15);
    position: relative;
    overflow: hidden;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.no-messages::before,
.no-active-chat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.no-messages i,
.no-active-chat i {
    font-size: 2.8rem;
    margin-bottom: 0.6rem;
    display: block;
    color: var(--primary-color);
    opacity: 1;
    text-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
    position: relative;
    z-index: 2;
}

.no-messages h4,
.no-active-chat h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.no-messages p,
.no-active-chat p {
    color: var(--text-dark);
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0 0 0.6rem 0;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.chat-actions {
    margin-top: 0.6rem;
    position: relative;
    z-index: 2;
}

/* Specific styling for refresh buttons in green dotted boxes */
.no-messages .btn,
.no-active-chat .btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 14px;
    max-width: 140px;
    margin: 0 auto;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-actions .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    max-width: 200px;
    margin: 0 auto;
}

.chat-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

/* Chat Input Area */
.chat-input-area {
    padding: 1rem;
    border-top: 1px solid rgba(76, 175, 80, 0.2);
    background: white;
}

/* Chat input-group - different from form input-group */
.chat-input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.message-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.message-input:focus {
    border-color: var(--primary-color);
}

/* Conversation Items */
.conversation-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.conversation-item:hover {
    background: rgba(76, 175, 80, 0.05);
}

.conversation-item.active {
    background: rgba(76, 175, 80, 0.1);
    border-left: 3px solid var(--primary-color);
}

.conversation-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.conversation-info {
    flex: 1;
}

.conversation-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.conversation-preview {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.conversation-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.unread-badge {
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Messages */
.message {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.message-outgoing {
    align-items: flex-end;
}

.message-incoming {
    align-items: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    position: relative;
}

.message-outgoing .message-content {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 5px;
}

.message-incoming .message-content {
    background: #f1f3f4;
    color: var(--text-dark);
    border-bottom-left-radius: 5px;
}

.message-text {
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
}

.message-sender {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    font-weight: 500;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 1.5rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

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

/* Analytics Pages Styles */
.admin-messages-analytics,
.admin-messages-unread,
.admin-messages-active,
.admin-messages-response {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f6f0 0%, #e8f5e8 100%);
    min-height: calc(100vh - 200px);
}

.analytics-container,
.unread-container,
.active-container,
.response-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.analytics-header,
.unread-header,
.active-header,
.response-header {
    text-align: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.analytics-header h2,
.unread-header h2,
.active-header h2,
.response-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.analytics-header p,
.unread-header p,
.active-header p,
.response-header p {
    color: var(--light-text);
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
}

/* Overview Cards */
.analytics-overview,
.response-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.overview-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.overview-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

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

.overview-number {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

/* Charts */
.analytics-chart,
.response-chart {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.1);
    margin-bottom: 3rem;
}

.chart-header {
    margin-bottom: 2rem;
    text-align: center;
}

.chart-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.chart-container {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tables */
.analytics-table,
.response-table {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.table-header {
    margin-bottom: 2rem;
    text-align: center;
}

.table-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.analytics-table-content,
.response-table-content {
    width: 100%;
    border-collapse: collapse;
}

.analytics-table-content th,
.analytics-table-content td,
.response-table-content th,
.response-table-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}

.analytics-table-content th,
.response-table-content th {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.no-data {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

/* Unread Messages Styles */
.unread-stats {
    margin-bottom: 2rem;
    text-align: center;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
}

.unread-messages-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.unread-message-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.unread-message-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.user-details h4 {
    margin: 0 0 0.3rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.user-details p {
    margin: 0 0 0.3rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.message-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.message-actions {
    display: flex;
    gap: 0.5rem;
}

.message-content p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.no-unread-messages {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.no-unread-messages i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.no-unread-messages h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Active Chats Styles */
.active-stats {
    margin-bottom: 2rem;
    text-align: center;
}

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

.active-chat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.active-chat-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.chat-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.chat-status {
    margin-left: auto;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(76, 175, 80, 0.2);
    color: var(--primary-color);
}

.chat-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-item i {
    color: var(--primary-color);
}

.chat-card-actions {
    display: flex;
    gap: 0.5rem;
}

.no-active-chats {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    grid-column: 1 / -1;
}

.no-active-chats i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.no-active-chats h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Response Time Styles */
.response-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-avatar-small {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.performance-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.performance-badge.excellent {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.performance-badge.good {
    background: rgba(139, 195, 74, 0.2);
    color: #8BC34A;
}

.performance-badge.fair {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

.performance-badge.poor {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
}

/* Button Styles */
.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
    border: 1px solid #ffc107;
}

.btn-warning:hover {
    background: #e0a800;
    border-color: #d39e00;
    color: #212529;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
    border: 1px solid #ffc107;
}

.btn-secondary:hover {
    background: #5a6268;
    border-color: #545b62;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .analytics-container,
    .unread-container,
    .active-container,
    .response-container {
        padding: 0 1rem;
    }
    
    .analytics-overview,
    .response-overview {
        grid-template-columns: 1fr;
    }
    
    .active-chats-grid {
        grid-template-columns: 1fr;
    }
    
    .message-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .message-actions {
        justify-content: center;
    }
}

/* Admin Dashboard & Settings Page Styles */
.admin-content {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f6f0 0%, #e8f5e8 100%);
    min-height: calc(100vh - 200px);
    font-family: 'Inter', sans-serif;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

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

.admin-welcome p {
    color: var(--light-text);
    font-size: 1.2rem;
    margin: 0;
}

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

/* Removed duplicate admin-grid rule */

.admin-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.admin-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
}

.admin-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(76, 175, 80, 0.2);
}

.settings-content {
    margin-top: 1rem;
}

/* Full width section for popup announcement */
.admin-section.full-width {
    grid-column: 1 / -1;
    width: 100%;
}

/* Ensure proper grid layout for admin settings */
.admin-settings .admin-grid {
    grid-template-columns: repeat(2, 1fr);
}

.admin-settings .admin-section {
    min-height: 300px;
}

/* Form row for side-by-side form elements */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

/* Consultation Details Styling */
.consultation-details {
    background: rgba(76, 175, 80, 0.05);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.consultation-details h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 2px solid rgba(76, 175, 80, 0.3);
    padding-bottom: 0.5rem;
}

.consultation-details .form-group {
    margin-bottom: 1rem;
}

.consultation-details .form-row .form-group {
    margin-bottom: 0;
}

/* Note: Old admin settings CSS removed - now using admin dashboard structure */

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

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

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* Logo Settings */
.current-logo-preview {
    text-align: center;
    padding: 1rem;
    border: 2px dashed rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    background: rgba(76, 175, 80, 0.05);
}

.logo-info {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.logo-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.logo-preview h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Branch Offices */
.branch-offices {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.branch-office {
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    background: white;
    transition: all 0.3s ease;
}

.branch-office:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.15);
}

.branch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}

.branch-header h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.2rem;
}

.branch-details p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.branch-details strong {
    color: var(--primary-color);
}

.branch-map {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.no-map {
    background: #f8f9fa;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    border: 1px dashed #dee2e6;
    border-radius: 8px;
}

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

/* System Info */
.system-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(76, 175, 80, 0.1);
}

.system-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.info-label {
    font-weight: 600;
    color: var(--text-dark);
}

.info-value {
    color: var(--primary-color);
    font-weight: 500;
}

/* Maintenance Actions */
.maintenance-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Upload Status */
.upload-status {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.upload-status.uploading {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.upload-status.success {
    background: rgba(76, 175, 80, 0.1);
    color: #155724;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.upload-status.error {
    background: rgba(244, 67, 54, 0.1);
    color: #721c24;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-settings-container {
        padding: 0 1rem;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-section {
        padding: 1.5rem;
    }
    
    .branch-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .branch-actions {
        flex-direction: column;
    }
    
    .maintenance-actions {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional Admin Settings Enhancements */
.settings-section .btn {
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.settings-section .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.current-logo-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.branch-office iframe {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.settings-form .form-group:last-child {
    margin-bottom: 0;
}

/* Enhanced focus states */
.settings-form input:focus,
.settings-form textarea:focus,
.settings-form select:focus {
    border-width: 2px;
    border-color: var(--primary-color);
}

/* Loading states */
.settings-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Success/Error states */
.upload-status.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.2));
}

.upload-status.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(244, 67, 54, 0.2));
}

/* Branch Offices Styling */
.branch-offices {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.branch-office {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
}

.branch-office:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(76, 175, 80, 0.4);
    transform: translateY(-1px);
}

.branch-office h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-office p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.branch-office strong {
    color: var(--primary-color);
}

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

/* System Information Styling */
.system-info {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

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

.info-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-1px);
}

.info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* Form Text Styling */
.form-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    font-style: italic;
}

.logo-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* Checkbox Label Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: bold;
}

/* Branch Header Styling */
.branch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
}

.branch-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

/* Branch Details Styling */
.branch-details p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.branch-details strong {
    color: var(--primary-color);
}

.branch-map {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

/* Maintenance Actions Styling */
.maintenance-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Logo Preview Styling */
.logo-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.logo-preview label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

#logo-preview-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

#logo-upload-status.success {
    background: rgba(76, 175, 80, 0.1);
    color: #2d5016;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

#logo-upload-status.error {
    background: rgba(244, 67, 54, 0.1);
    color: #d32f2f;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Enhanced Messages Stats */
.messages-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.messages-stats .stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.messages-stats .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.messages-stats .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
}

.messages-stats .stat-card.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.messages-stats .stat-card.clickable:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.2);
}

.stat-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--primary-color);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.messages-stats .stat-card.clickable:hover .stat-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.messages-stats .stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.messages-stats .stat-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.messages-stats .stat-number {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .chat-interface {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 500px;
    }
    
    .chat-sidebar {
        border-right: none;
        border-bottom: 2px solid rgba(76, 175, 80, 0.2);
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .admin-messages-container {
        padding: 0 1rem;
    }
    
    .messages-header {
        padding: 1.5rem;
    }
    
    .messages-header h2 {
        font-size: 2rem;
    }
    
    .chat-interface {
        margin-bottom: 1.5rem;
    }
    
    .messages-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

/* ===== ADMIN SETTINGS ENHANCED STYLES ===== */
.current-logo-preview {
    text-align: center;
    padding: 1rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.current-logo-preview img {
    border: 2px solid #4CAF50;
    border-radius: 8px;
}

.logo-info {
    margin-top: 0.5rem;
    color: #4a7c59;
    font-size: 0.9rem;
}

.logo-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    text-align: center;
}

.logo-preview h4 {
    color: #2d5016;
    margin-bottom: 1rem;
}

.form-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.upload-status {
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
}

.upload-status.uploading {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
    border: 1px solid #ffc107;
}

.upload-status.success {
    background: rgba(40, 167, 69, 0.2);
    color: #155724;
    border: 1px solid #28a745;
}

.upload-status.error {
    background: rgba(220, 53, 69, 0.2);
    color: #721c24;
    border: 1px solid #dc3545;
}

/* Branch Offices Styles */
.branch-offices {
    margin-bottom: 2rem;
}

.branch-office {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.branch-office:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.branch-header {
    background: #4CAF50;
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branch-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.branch-details {
    padding: 1.5rem;
}

.branch-details p {
    margin-bottom: 0.8rem;
    color: #4a7c59;
}

.branch-details strong {
    color: #2d5016;
}

.branch-map {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.branch-map iframe {
    border-radius: 10px;
}

.no-map {
    background: #f8f9fa;
    color: #6c757d;
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    font-style: italic;
}

.branch-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Enhanced Popup Settings */
.popup-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.popup-preview {
    background: rgba(76, 175, 80, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.popup-preview h4 {
    color: #2d5016;
    margin-bottom: 1rem;
}

.popup-demo {
    background: white;
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.popup-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.popup-demo-title {
    font-weight: bold;
    color: #2d5016;
}

.popup-demo-close {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 1.2rem;
}

.popup-demo-message {
    color: #4a7c59;
    line-height: 1.5;
}

/* Responsive adjustments for admin settings */
@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .branch-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .branch-actions {
        flex-direction: column;
    }
    
    .popup-settings-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== AFA DIVINATION STYLES ===== */
.afa-divination-content {
    padding: 2rem 0;
}

.afa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-description {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-description h2 {
    color: #2d5016;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-description p {
    color: #4a7c59;
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.afa-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.afa-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.afa-card h3 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.afa-card p {
    color: #4a7c59;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.book-btn {
    display: inline-block;
    background: #4a7c59;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #4a7c59;
}

.book-btn:hover {
    background: transparent;
    color: #4a7c59;
    transform: scale(1.05);
}

.back-to-home {
    text-align: center;
    margin: 2rem 0;
}

.back-link {
    display: inline-block;
    background: #4a7c59;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #2d5016;
}

@media (max-width: 768px) {
    .service-description h2 {
        font-size: 2rem;
    }
    
    .afa-categories {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: rgba(45, 80, 22, 0.9);
    color: #f5f5dc;
    margin-top: auto;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.footer-section h3 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #4CAF50;
}

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

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

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

.footer-links a:hover {
    color: #4CAF50;
    opacity: 1;
    padding-left: 5px;
}

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

.contact-info i {
    color: #4CAF50;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #f5f5dc;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

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

.footer-bottom-links a {
    color: #f5f5dc;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #4CAF50;
    opacity: 1;
}

/* ===== UTILITY COMPONENTS ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.back-to-top:hover {
    background: #2d5016;
    transform: translateY(-3px);
}

.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner.show {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.whatsapp-widget a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-widget a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ===== MODERN TOAST NOTIFICATIONS ===== */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    color: #333;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 420px;
    min-width: 320px;
    word-wrap: break-word;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(0);
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-content {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: -2px;
}

.toast-close:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Toast Types */
.toast-success {
    border-left: 4px solid #10b981;
}

.toast-success .toast-icon {
    background: #d1fae5;
    color: #059669;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error .toast-icon {
    background: #fee2e2;
    color: #dc2626;
}

.toast-warning {
    border-left: 4px solid #f59e0b;
}

.toast-warning .toast-icon {
    background: #fef3c7;
    color: #d97706;
}

.toast-info {
    border-left: 4px solid #3b82f6;
}

.toast-info .toast-icon {
    background: #dbeafe;
    color: #2563eb;
}

/* Modern Error Box */
.error-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    max-width: 500px;
    width: 90%;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    animation: errorBoxSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes errorBoxSlideIn {
    from {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.error-box-header {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    padding: 20px 24px;
    border-bottom: 1px solid #fecaca;
    display: flex;
    align-items: center;
    gap: 12px;
}

.error-box-icon {
    width: 40px;
    height: 40px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.error-box-title {
    font-size: 18px;
    font-weight: 600;
    color: #dc2626;
    margin: 0;
}

.error-box-body {
    padding: 24px;
}

.error-box-message {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.error-box-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.error-box-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.error-box-btn-primary {
    background: #ef4444;
    color: white;
}

.error-box-btn-primary:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.error-box-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.error-box-btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

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

@keyframes errorBoxSlideOut {
    to {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(45, 80, 22, 0.95);
        flex-direction: column;
        padding: 1rem 0;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 80vh;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu.admin-nav {
        background: rgba(26, 61, 15, 0.98);
        border-radius: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.admin-nav a {
        padding: 1rem 1.5rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
    }
    
    .nav-menu.admin-nav .dropdown-menu {
        position: static !important;
        background: rgba(0, 0, 0, 0.3) !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: none !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    .nav-menu.admin-nav .dropdown-menu.mobile-open {
        display: block !important;
    }
    
    .nav-menu.admin-nav .dropdown.mobile-open .dropdown-menu {
        display: block !important;
    }
    
    .nav-menu.admin-nav .dropdown-menu a {
        padding: 0.75rem 2rem !important;
        border-left: 3px solid transparent !important;
        font-size: 0.9rem !important;
        background: transparent !important;
        color: #f8f6f0 !important;
        display: block !important;
    }
    
    .nav-menu.admin-nav .dropdown-menu a:hover {
        border-left-color: #4CAF50 !important;
        background: rgba(76, 175, 80, 0.2) !important;
        color: #4CAF50 !important;
    }
    
    .nav-menu.admin-nav .dropdown.mobile-open > a {
        background: rgba(76, 175, 80, 0.2) !important;
        color: #4CAF50 !important;
    }
    
    /* Admin page mobile optimizations */
    .admin-content {
        padding: 1rem 0;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .admin-welcome h2 {
        font-size: 1.8rem;
    }
    
    .admin-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .admin-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Admin tables mobile optimization */
    .admin-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .admin-table {
        min-width: 600px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    /* Admin cards mobile optimization */
    .admin-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .admin-section h3 {
        font-size: 1.2rem;
    }
    
    /* Admin forms mobile optimization */
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Admin buttons mobile optimization */
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-height: 44px; /* Minimum touch target size */
    }
    
    .btn-group .btn {
        margin-bottom: 0.5rem;
    }
    
    /* Admin modals mobile optimization */
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .modal-content {
        border-radius: 10px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.1);
        margin: 0.5rem 0;
        min-width: auto;
        display: none;
    }
    
    .dropdown-menu.mobile-open {
        display: block;
    }
    
    .mobile-dropdown-toggle {
        cursor: pointer;
        position: relative;
    }
    
    .mobile-dropdown-toggle .fa-chevron-down {
        transition: transform 0.3s ease;
    }
    
    .mobile-dropdown-toggle.active .fa-chevron-down {
        transform: rotate(180deg);
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .services h2 {
        font-size: 2rem;
    }
    
    .logo-image {
        max-width: 220px;
        max-height: 110px;
    }
    
    .logo-brand {
        font-size: 1.2rem;
    }
    
    .founder-profile {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .founder-image {
        flex: none;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .founder-photo {
        height: 300px;
    }
    
    .founder-image-placeholder {
        height: 300px;
    }
    
    .founder-info h3 {
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top,
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        left: auto;
    }
    
    .whatsapp-widget {
        left: 20px;
        right: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu a {
        padding: 1rem 1rem;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .services {
        padding: 2rem 0;
    }
    
    .services h2 {
        font-size: 1.8rem;
    }
    
    .contact-info-section,
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 1.6rem;
    }
    
    .map-placeholder {
        padding: 2rem 1rem;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .auth-form-container,
    .auth-info {
        padding: 2rem 1.5rem;
    }
    
    .auth-header h2 {
        font-size: 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-content h3 {
        font-size: 1.5rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Service Pages - Enhanced Organization */
.service-content {
    padding: 2rem 0;
}

.service-overview {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--cream-color), #f8f6f0);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-overview h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.service-overview p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Consultant Section */
.consultant-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-color);
    position: relative;
}

.consultant-section:before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    z-index: -1;
}

.consultant-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.consultant-image {
    width: 100%;
    max-width: 300px;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 3px solid var(--primary-color);
    margin: 0 auto;
}

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

.consultant-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.consultant-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.consultant-placeholder p {
    font-size: 1rem;
    font-weight: 500;
}

.consultant-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.consultant-details h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
}

.consultant-description {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
    padding: 1rem;
    background: rgba(248, 246, 240, 0.3);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

/* Removed old consultant credentials styles - no longer needed */

/* Service Description */
.service-description {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-color);
}

.service-description h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-description p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Service Features - Enhanced */
.service-features {
    margin: 3rem 0;
}

.service-features h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

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

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-item h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Ensure proper spacing for service features section */
.service-features {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    border-radius: 15px;
    margin: 3rem 0;
}

.service-features .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Additional spacing for feature items */
.feature-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-item .feature-icon {
    flex-shrink: 0;
}

.feature-item h3 {
    flex-shrink: 0;
}

.feature-item p {
    flex: 1;
    display: flex;
    align-items: center;
}

/* Service Process */
.service-process {
    margin: 3rem 0;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-process h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

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

.step {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--cream-color), #f8f6f0);
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step p {
    color: var(--text-color);
    line-height: 1.5;
}

/* Benefits Section */
.benefits-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-item p {
    color: var(--text-color);
    line-height: 1.5;
}

/* Booking Section */
.booking-section {
    margin: 3rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    text-align: center;
    color: white;
}

.booking-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.booking-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.booking-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid white;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--cream-color);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover {
    transform: scale(1.2);
}

/* Form Styles */
.modal form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Delete Confirmation Styles */
.delete-confirmation {
    padding: 2rem;
    text-align: center;
}

.delete-confirmation p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.service-name {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    padding: 1rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.warning-text {
    color: #dc3545;
    font-weight: 600;
    background: rgba(220, 53, 69, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #dc3545;
}

.delete-confirmation-input {
    margin: 2rem 0;
    text-align: left;
}

.delete-confirmation-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.delete-confirmation-input input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.delete-confirmation-input input:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.delete-confirmation-input input:valid {
    border-color: var(--primary-color);
}

/* Service Card Styles */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.service-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.3rem;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-action.edit {
    color: var(--primary-color);
}

.btn-action.edit:hover {
    background: rgba(76, 175, 80, 0.1);
    transform: scale(1.1);
}

.btn-action.delete {
    color: #dc3545;
}

.btn-action.delete:hover {
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.1);
}

.service-details {
    margin-bottom: 1rem;
}

.service-details p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-badge.active {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.status-badge.inactive {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 1px solid #6c757d;
}

.status-badge.maintenance {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.service-description p {
    color: var(--light-text);
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

/* Services Grid and Stats */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Mobile Responsive for Consultant Section */
@media (max-width: 768px) {
    .consultant-info {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .consultant-image {
        width: 200px;
        height: 250px;
        margin: 0 auto;
    }
    
    .service-overview h2 {
        font-size: 2rem;
    }
    
    .consultant-details h3 {
        font-size: 1.5rem;
    }
    
    .consultant-details h4 {
        font-size: 1.3rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .booking-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .booking-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Mobile Modal Styles */
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    /* Mobile Feature Grid */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-item h3 {
        font-size: 1.2rem;
    }
}

/* Igbo Cultural Hero Section */
.igbo-hero-section {
    background-color: #f4f1ea; /* Light cream background */
    overflow: hidden;
    position: relative;
    font-family: 'Lora', serif;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.igbo-slider-container {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
}

.igbo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    padding: 2rem;
}

.igbo-slide.active {
    opacity: 1;
}

.igbo-slide-content {
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem 3rem;
    border-radius: 0;
    border: none;
    z-index: 5;
}

.igbo-slide-title {
    font-size: 3rem;
    font-weight: 700;
    color: #4CAF50; /* Using project's primary green color */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

.igbo-slide-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.igbo-slide-description {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    color: #e5e7eb;
    line-height: 1.8;
}

.igbo-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(76, 175, 80, 0.8); /* Using project's primary color */
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.igbo-nav-btn:hover {
    background-color: rgba(69, 160, 73, 0.9); /* Using project's secondary color */
}

.igbo-prev-btn { 
    left: 2rem; 
}

.igbo-next-btn { 
    right: 2rem; 
}

/* Background patterns inspired by 'uli' art */
.igbo-bg-pattern-1 { 
    background-image: linear-gradient(rgba(76, 175, 80, 0.8), rgba(76, 175, 80, 0.8)), url("https://www.transparenttextures.com/patterns/az-subtle.png"); 
}

.igbo-bg-pattern-2 { 
    background-image: linear-gradient(rgba(69, 160, 73, 0.8), rgba(69, 160, 73, 0.8)), url("https://www.transparenttextures.com/patterns/inspiration-geometry.png"); 
}

.igbo-bg-pattern-3 { 
    background-image: linear-gradient(rgba(76, 175, 80, 0.8), rgba(76, 175, 80, 0.8)), url("https://www.transparenttextures.com/patterns/diamond-upholstery.png"); 
}

.igbo-bg-pattern-4 { 
    background-image: linear-gradient(rgba(69, 160, 73, 0.8), rgba(69, 160, 73, 0.8)), url("https://www.transparenttextures.com/patterns/subtle-zebra-3d.png"); 
}

/* Decorative Igbo cultural symbols */
.cultural-symbol {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
    animation: float 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cultural-symbol svg {
    color: #2E7D32; /* Dark green icons */
    margin-bottom: 0.5rem;
}

.artifact-name {
    color: #C8E6C9; /* Cream green text */
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Lora', serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    white-space: nowrap;
}

/* Igbo Artifacts Positioning - Spread Around */
.ogene-symbol {
    width: 80px;
    height: 100px;
    top: 0.5rem;
    left: 0.5rem;
    animation-delay: 0s;
}

.okpu-agu-symbol {
    width: 80px;
    height: 100px;
    top: 0.5rem;
    right: 0.5rem;
    animation-delay: 0.5s;
}

.ofor-symbol {
    width: 60px;
    height: 100px;
    bottom: 0.5rem;
    left: 0.5rem;
    animation-delay: 1s;
}

.ikoro-symbol {
    width: 100px;
    height: 80px;
    bottom: 0.5rem;
    right: 0.5rem;
    animation-delay: 1.5s;
}

.ichi-symbol {
    width: 80px;
    height: 100px;
    top: 1.5rem;
    left: 8rem;
    animation-delay: 2s;
}

.akupe-symbol {
    width: 80px;
    height: 100px;
    top: 1.5rem;
    right: 8rem;
    animation-delay: 2.5s;
}

.mma-symbol {
    width: 80px;
    height: 100px;
    bottom: 1.5rem;
    left: 8rem;
    animation-delay: 3s;
}

.ekwe-symbol {
    width: 100px;
    height: 80px;
    bottom: 1.5rem;
    right: 8rem;
    animation-delay: 3.5s;
}

.nzu-symbol {
    width: 60px;
    height: 100px;
    top: 2.5rem;
    left: 15rem;
    animation-delay: 4s;
}

.udu-symbol {
    width: 80px;
    height: 100px;
    top: 2.5rem;
    right: 15rem;
    animation-delay: 4.5s;
}

.akwete-symbol {
    width: 80px;
    height: 100px;
    bottom: 2.5rem;
    left: 15rem;
    animation-delay: 5s;
}

.mgba-symbol {
    width: 100px;
    height: 80px;
    bottom: 2.5rem;
    right: 15rem;
    animation-delay: 0.3s;
}

.oji-symbol {
    width: 80px;
    height: 100px;
    top: 3.5rem;
    left: 22rem;
    animation-delay: 0.8s;
}

.uli-symbol {
    width: 80px;
    height: 100px;
    top: 3.5rem;
    right: 22rem;
    animation-delay: 1.3s;
}

.nkwu-symbol {
    width: 80px;
    height: 100px;
    bottom: 3.5rem;
    left: 22rem;
    animation-delay: 1.8s;
}

/* Floating animation for all symbols */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive design for Igbo hero section */
@media (max-width: 768px) {
    .igbo-slide-title { 
        font-size: 2.5rem; 
    }
    
    .igbo-slide-subtitle { 
        font-size: 1.2rem; 
    }
    
    .igbo-slide-content { 
        padding: 1.5rem; 
    }
    
    .igbo-nav-btn { 
        padding: 0.75rem; 
        width: 40px;
        height: 40px;
    }
    
    .igbo-prev-btn { 
        left: 1rem; 
    }
    
    .igbo-next-btn { 
        right: 1rem; 
    }
    
    .cultural-symbol { 
        opacity: 0.6; /* Make symbols more subtle on small screens */
    }
    
    /* Hide some symbols on mobile to avoid clutter */
    .nzu-symbol, .udu-symbol, .akwete-symbol, .mgba-symbol, 
    .oji-symbol, .uli-symbol, .nkwu-symbol {
        display: none;
    }
    
    /* Reduce sizes on mobile */
    .cultural-symbol {
        transform: scale(0.8);
    }
    
    .artifact-name {
        font-size: 0.7rem;
    }
    
    .igbo-slider-container {
        height: 60vh;
        min-height: 400px;
    }
}

/* Global Background Artifacts for All Pages */
.global-background-artifacts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
}

.global-background-artifacts .cultural-symbol {
    position: absolute;
    animation: float 8s ease-in-out infinite;
}

/* Global artifact positioning - spread across entire viewport */
.global-background-artifacts .ogene-symbol {
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.global-background-artifacts .okpu-agu-symbol {
    top: 5%;
    right: 5%;
    animation-delay: 1s;
}

.global-background-artifacts .ofor-symbol {
    bottom: 5%;
    left: 5%;
    animation-delay: 2s;
}

.global-background-artifacts .ikoro-symbol {
    bottom: 5%;
    right: 5%;
    animation-delay: 3s;
}

.global-background-artifacts .ichi-symbol {
    top: 20%;
    left: 15%;
    animation-delay: 4s;
}

.global-background-artifacts .akupe-symbol {
    top: 20%;
    right: 15%;
    animation-delay: 5s;
}

.global-background-artifacts .mma-symbol {
    bottom: 20%;
    left: 15%;
    animation-delay: 6s;
}

.global-background-artifacts .ekwe-symbol {
    bottom: 20%;
    right: 15%;
    animation-delay: 7s;
}

.global-background-artifacts .nzu-symbol {
    top: 35%;
    left: 25%;
    animation-delay: 0.5s;
}

.global-background-artifacts .udu-symbol {
    top: 35%;
    right: 25%;
    animation-delay: 1.5s;
}

.global-background-artifacts .akwete-symbol {
    bottom: 35%;
    left: 25%;
    animation-delay: 2.5s;
}

.global-background-artifacts .mgba-symbol {
    bottom: 35%;
    right: 25%;
    animation-delay: 3.5s;
}

.global-background-artifacts .oji-symbol {
    top: 50%;
    left: 35%;
    animation-delay: 4.5s;
}

.global-background-artifacts .uli-symbol {
    top: 50%;
    right: 35%;
    animation-delay: 5.5s;
}

.global-background-artifacts .nkwu-symbol {
    bottom: 50%;
    left: 35%;
    animation-delay: 6.5s;
}

/* Hide global artifacts on admin pages */
body.admin-page .global-background-artifacts {
    display: none;
}

/* ===== RICH TEXT EDITOR STYLES ===== */
.rich-text-editor {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.editor-toolbar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 8px 8px 0 0;
    flex-wrap: wrap;
    gap: 4px;
}

.toolbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toolbar-btn:hover {
    background: #e9ecef;
    color: #333;
}

.toolbar-btn.active {
    background: #007bff;
    color: white;
}

.toolbar-separator {
    width: 1px;
    height: 20px;
    background: #dee2e6;
    margin: 0 4px;
}

.editor-content {
    min-height: 120px;
    max-height: 300px;
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    overflow-y: auto;
    outline: none;
    border: none;
}

.editor-content:empty:before {
    content: attr(placeholder);
    color: #999;
    font-style: italic;
}

.editor-content p {
    margin: 0 0 8px 0;
}

.editor-content p:last-child {
    margin-bottom: 0;
}

.editor-content ul, .editor-content ol {
    margin: 8px 0;
    padding-left: 20px;
}

.editor-content li {
    margin: 4px 0;
}

.editor-content a {
    color: #007bff;
    text-decoration: underline;
}

.editor-content strong {
    font-weight: bold;
}

.editor-content em {
    font-style: italic;
}

.editor-content u {
    text-decoration: underline;
}

.editor-footer {
    padding: 8px 12px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
}

.attachment-preview {
    margin-bottom: 8px;
}

.attachment-item {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 4px;
    font-size: 12px;
}

.attachment-item i {
    margin-right: 6px;
    color: #666;
}

.attachment-name {
    flex: 1;
    margin-right: 8px;
    font-weight: 500;
}

.attachment-size {
    margin-right: 8px;
    color: #666;
}

.remove-attachment {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 2px;
    border-radius: 2px;
}

.remove-attachment:hover {
    background: #f8d7da;
}

.editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Message display styles for rich content */
.message-text {
    word-wrap: break-word;
}

.message-text p {
    margin: 0 0 8px 0;
}

.message-text p:last-child {
    margin-bottom: 0;
}

.message-text ul, .message-text ol {
    margin: 8px 0;
    padding-left: 20px;
}

.message-text li {
    margin: 4px 0;
}

.message-text a {
    color: #007bff;
    text-decoration: underline;
}

.message-text strong {
    font-weight: bold;
}

.message-text em {
    font-style: italic;
}

.message-text u {
    text-decoration: underline;
}

/* Responsive design for rich text editor */
@media (max-width: 768px) {
    .editor-toolbar {
        padding: 6px 8px;
    }
    
    .toolbar-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .editor-content {
        min-height: 100px;
        padding: 10px;
        font-size: 13px;
    }
    
    .editor-footer {
        padding: 6px 8px;
    }
    
    .editor-actions {
        flex-direction: column;
        gap: 6px;
    }
    
    .editor-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== MODAL RICH TEXT EDITOR STYLES ===== */
.rich-text-editor-modal {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
}

.rich-text-editor-modal .editor-toolbar {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 8px 8px 0 0;
    flex-wrap: wrap;
    gap: 2px;
}

.rich-text-editor-modal .toolbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.rich-text-editor-modal .toolbar-btn:hover {
    background: #e9ecef;
    color: #333;
}

.rich-text-editor-modal .toolbar-btn.active {
    background: #007bff;
    color: white;
}

.rich-text-editor-modal .toolbar-separator {
    width: 1px;
    height: 16px;
    background: #dee2e6;
    margin: 0 2px;
}

.rich-text-editor-modal .editor-content {
    min-height: 80px;
    max-height: 200px;
    padding: 8px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    overflow-y: auto;
    outline: none;
    border: none;
}

.rich-text-editor-modal .editor-content:empty:before {
    content: attr(placeholder);
    color: #999;
    font-style: italic;
}

.rich-text-editor-modal .editor-content p {
    margin: 0 0 6px 0;
}

.rich-text-editor-modal .editor-content p:last-child {
    margin-bottom: 0;
}

.rich-text-editor-modal .editor-content ul, 
.rich-text-editor-modal .editor-content ol {
    margin: 6px 0;
    padding-left: 16px;
}

.rich-text-editor-modal .editor-content li {
    margin: 2px 0;
}

.rich-text-editor-modal .editor-content a {
    color: #007bff;
    text-decoration: underline;
}

.rich-text-editor-modal .editor-content strong {
    font-weight: bold;
}

.rich-text-editor-modal .editor-content em {
    font-style: italic;
}

.rich-text-editor-modal .editor-content u {
    text-decoration: underline;
}

.rich-text-editor-modal .editor-footer {
    padding: 6px 8px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
}

.rich-text-editor-modal .attachment-preview {
    margin-bottom: 6px;
}

.rich-text-editor-modal .attachment-item {
    display: flex;
    align-items: center;
    padding: 4px 6px;
    background: #e9ecef;
    border-radius: 3px;
    margin-bottom: 3px;
    font-size: 11px;
}

.rich-text-editor-modal .attachment-item i {
    margin-right: 4px;
    color: #666;
    font-size: 10px;
}

.rich-text-editor-modal .attachment-name {
    flex: 1;
    margin-right: 6px;
    font-weight: 500;
}

.rich-text-editor-modal .attachment-size {
    margin-right: 6px;
    color: #666;
}

.rich-text-editor-modal .remove-attachment {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 1px;
    border-radius: 2px;
    font-size: 10px;
}

.rich-text-editor-modal .remove-attachment:hover {
    background: #f8d7da;
}

.rich-text-editor-modal .editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.rich-text-editor-modal .editor-actions .btn {
    padding: 4px 8px;
    font-size: 11px;
}

/* Modal responsive design */
@media (max-width: 768px) {
    .rich-text-editor-modal .editor-toolbar {
        padding: 4px 6px;
    }
    
    .rich-text-editor-modal .toolbar-btn {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .rich-text-editor-modal .editor-content {
        min-height: 60px;
        padding: 6px;
        font-size: 12px;
    }
    
    .rich-text-editor-modal .editor-footer {
        padding: 4px 6px;
    }
    
    .rich-text-editor-modal .editor-actions {
        flex-direction: column;
        gap: 4px;
    }
    
    .rich-text-editor-modal .editor-actions .btn {
        width: 100%;
        justify-content: center;
        font-size: 10px;
        padding: 6px 8px;
    }
}
