/* Supplier shortcuts */
.supplier-shortcuts { margin-top: 2rem; }
.supplier-shortcuts h2 { color: var(--primary-color); margin-bottom: 1rem; }
.supplier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.supplier-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 16px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.supplier-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.supplier-label { text-align: center; }
.supplier-note { margin-top: 0.5rem; color: var(--text-muted); font-size: 0.9rem; }

/* Schedule panel */
.schedule-panel { margin-top: 2rem; background: var(--white); border-radius: 12px; padding: 1.25rem; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.05); }
.schedule-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.25rem; }
.schedule-header h2 { margin: 0; color: var(--primary-color); }
.schedule-note { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 0.75rem 0; }
.schedule-list { display: grid; gap: 0.75rem; }
.schedule-item { display: grid; grid-template-columns: 110px 1fr; gap: 0.5rem; align-items: center; padding: 0.75rem; border: 1px solid rgba(0,0,0,0.05); border-radius: 8px; background: var(--light-bg); }
.schedule-when { font-weight: 700; color: var(--primary-color); }
.schedule-title { font-weight: 700; color: var(--text-dark); }
.schedule-notes { color: var(--text-muted); font-size: 0.95rem; }
.schedule-empty { color: var(--text-muted); font-style: italic; }
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

:root {
    --primary-color: #2c5f8d;
    --secondary-color: #4a8fc4;
    --accent-color: #ff6b35;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 100%;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease, outline 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-login-item {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
}

.login-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
}

.login-link:hover {
    color: var(--secondary-color);
}

.nav-menu a.nav-active {
    color: var(--white);
    background: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 60px;
    overflow: visible;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0;
    color: var(--white);
    background: rgba(44, 95, 141, 0.45);
    padding: 1rem 1.5rem;
    border-radius: 8px 8px 0 0;
    text-shadow: 0 3px 12px rgba(0,0,0,0.35);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.97;
    background: rgba(44, 95, 141, 0.45);
    padding: 1rem 1.5rem;
    border-radius: 0 0 8px 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
    animation: fadeInUp 1s ease 0.2s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

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

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 95, 141, 0.3);
}

.btn-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Info Section */
.info-section {
    padding: 80px 20px;
    background: var(--light-bg);
    text-align: center;
}

.info-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background: var(--white);
}

.services-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

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

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.service-card p {
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* About Section */
.about-section {
    position: relative;
    padding: 80px 20px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.about-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-section h2 {
    color: var(--white);
    margin-bottom: 0;
    background: rgba(44, 95, 141, 0.45);
    padding: 1rem 1.5rem;
    border-radius: 8px 8px 0 0;
    display: inline-block;
}

.about-section p {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    background: rgba(44, 95, 141, 0.45);
    padding: 1rem 1.5rem;
    border-radius: 0 0 8px 8px;
    opacity: 0.95;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 20px;
    background: var(--light-bg);
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.quote {
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background: var(--white);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

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

.contact-email a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-email a:hover {
    text-decoration: underline;
}

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

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

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

.contact-info p {
    margin-bottom: 1.5rem;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-detail {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
}

.contact-detail p {
    margin-bottom: 0.5rem;
}

.contact-detail strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 1.5rem 20px;
    text-align: center;
}

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

.footer p {
    color: var(--white);
    margin: 0;
}

/* Logos Section */
.logos-section {
    background: var(--light-bg);
    padding: 3rem 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
    --logo-height: 36px;
}

.logos-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo-item {
    height: var(--logo-height);
    max-height: var(--logo-height);
    width: auto;
    object-fit: contain;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
/* Tablet styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Navigation - Mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 1rem 0;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Hero section - Mobile */
    .hero {
        height: auto;
        min-height: 70vh;
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        padding: 0.8rem 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Sections - Mobile */
    .services-section,
    .about-section,
    .testimonials-section,
    .contact-section,
    .info-section {
        padding: 50px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .section-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* About section - Mobile */
    .about-section h2 {
        font-size: 1.7rem;
    }
    
    .about-section p {
        font-size: 1rem;
        padding: 1rem;
    }
    
    /* Testimonials - Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .quote {
        font-size: 3rem;
        top: 5px;
        left: 10px;
    }
    
    /* Contact - Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form input,
    .contact-form textarea,
    .login-form input,
    .account-form input,
    .account-form textarea,
    .testimonial-form input,
    .testimonial-form textarea,
    .admin-form input,
    .admin-form select {
        font-size: 16px;
    }
    
    /* Footer - Mobile */
    .footer {
        padding: 40px 20px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    /* Service Detail Pages - Mobile */
    .service-detail {
        padding: 80px 0 40px;
    }
    
    .service-detail h1 {
        font-size: 1.8rem;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail-text h2 {
        font-size: 1.5rem;
    }
    
    .service-detail-text h3 {
        font-size: 1.2rem;
    }
    
    /* Shop Products - Mobile */
    .shop-section h1 {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .order-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .how-to-order {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .info-box {
        padding: 1.5rem;
    }
    
    /* Shop Section Homepage - Mobile */
    .shop-section {
        padding: 60px 20px;
    }

    .shop-section h2 {
        font-size: 1.8rem;
    }

    .shop-section .section-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .shop-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        grid-template-columns: auto !important;
    }

    .shop-text {
        text-align: left;
        width: 100% !important;
        max-width: 100%;
        order: 1;
    }

    .shop-text h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .shop-text li {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .shop-text .shop-note {
        text-align: center;
    }

    .shop-cta {
        margin-top: 1rem;
        padding: 1.5rem;
        width: 100% !important;
        max-width: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        background: var(--light-bg);
        border-radius: 8px;
        border-left: none !important;
        order: 2;
    }

    .shop-cta .btn {
        width: 100% !important;
        max-width: 300px !important;
        text-align: center;
        display: block !important;
        margin: 0 auto !important;
    }
    
    .shop-subtext {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
    
    /* Dashboard - Mobile */
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-card {
        padding: 1.25rem;
    }
    
    .supplier-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .supplier-card {
        height: 100px;
        font-size: 1rem;
    }
    
    .event-filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .dashboard-welcome h1 {
        font-size: 2rem;
    }
    
    .user-greeting {
        font-size: 1.1rem;
    }
    
    /* Login Page - Mobile */
    .login-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .login-box {
        padding: 2rem 1.5rem;
    }
    
    .login-section {
        padding: 80px 15px 20px;
    }
    
    /* Account Page - Mobile */
    .account-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .account-panel,
    .testimonial-panel {
        padding: 1.5rem;
    }
    
    .account-section {
        padding: 80px 15px 40px;
    }
    
    /* Schedule panel - Mobile */
    .schedule-panel {
        padding: 1rem;
    }
    
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 0.75rem;
    }
    
    .schedule-when {
        font-size: 0.9rem;
    }
    
    .schedule-title {
        font-size: 0.95rem;
    }
    
    .schedule-notes {
        font-size: 0.85rem;
    }
}

@media (max-width: 540px) {
    .hero h1 {
        font-size: 1.5rem;
        padding: 0.6rem 0.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        padding: 0.6rem 0.8rem;
    }
    
    h1 {
        font-size: 1.7rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .nav-brand {
        font-size: 1.3rem;
    }
    
    .navbar .container {
        padding: 0.75rem 15px;
    }
}

/* Service Detail Page */
.service-detail {
    padding: 100px 0 60px;
    margin-top: 60px;
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--secondary-color);
}

.service-detail h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.service-detail-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-detail-text h2 {
    font-size: 1.8rem;
    margin-top: 0;
}

.service-detail-text h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-detail-text ul {
    list-style-position: inside;
    color: var(--text-light);
    line-height: 1.8;
}

.service-detail-text li {
    margin-bottom: 0.8rem;
}

.service-detail-text .btn {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .service-detail {
        padding: 80px 20px 60px;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail-image {
        order: -1;
        height: 250px;
        object-fit: cover;
    }

    .service-detail h1 {
        font-size: 2rem;
    }

    .service-detail-text {
        width: 100%;
    }

    .service-detail-text h2 {
        font-size: 1.5rem;
    }

    .service-detail-text h3 {
        font-size: 1.2rem;
    }
}

/* Shop Products Page */
.shop-section {
    padding: 100px 0 60px;
    margin-top: 60px;
}

.shop-section h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.shop-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.price-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 3rem;
    color: #856404;
}

.price-notice p {
    margin-bottom: 0.5rem;
}

.shop-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.category-section {
    padding: 2rem 0;
    border-bottom: 2px solid var(--light-bg);
}

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

.category-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.product-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.product-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-spec {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    min-height: 3rem;
}

.product-unit {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    margin-bottom: 1rem;
}

.btn-small {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.btn-small:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--accent-color);
}

.btn-secondary:hover {
    background: #e55a25;
}

.info-box {
    background: var(--light-bg);
    border-left: 4px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.info-box p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.info-box ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.info-box li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.how-to-order {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--light-bg);
}

.how-to-order h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 1rem;
}

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

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* @media (max-width: 768px) {
    .shop-section {
        padding: 80px 0 40px;
    }

    .shop-section h1 {
        font-size: 2rem;
    }

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

    .order-steps {
        grid-template-columns: 1fr;
    }

    .how-to-order h2 {
        font-size: 1.5rem;
    }
} */

/* Shop Section */
.shop-section {
    padding: 80px 20px;
    background: var(--white);
    color: var(--text-dark);
    position: relative;
}

.shop-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.shop-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.shop-section .container {
    position: relative;
    z-index: 2;
}

.shop-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.shop-section .section-intro {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 700px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.shop-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.shop-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.shop-text ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.shop-text li {
    margin-bottom: 1.2rem;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.shop-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.shop-note {
    color: var(--text-light);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
}

.shop-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.shop-subtext {
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.shop-subtext a:hover {
    color: var(--accent-color);
}
    align-items: center;
    justify-content: center;
    text-align: center;
}

.promo-subtext {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.promo-subtext a:hover {
    color: var(--accent-color);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* About Detail Page */
.about-detail {
    padding: 80px 20px;
    background: var(--light-bg);
    margin-top: 60px;
}

.back-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.about-detail h1 {
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    font-size: 2.5rem;
}

.about-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.about-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-detail-text {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-detail-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.about-detail-text h3 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.about-detail-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-detail-text ul {
    list-style: none;
    margin-bottom: 1rem;
}

.about-detail-text li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.about-detail-text li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.about-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
    text-align: center;
}

.about-cta p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

.modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    animation: slideDown 0.3s ease;
    touch-action: auto;
}

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

@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 1rem auto;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 1.5rem;
        -webkit-overflow-scrolling: touch;
        -webkit-user-select: text;
        user-select: text;
    }
    
    .modal-content * {
        touch-action: auto;
    }
}

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

.close:hover,
.close:focus {
    color: var(--primary-color);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.selected-product {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

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

.selected-product strong {
    color: var(--primary-color);
}

#selectedProductsList {
    margin-top: 0.75rem;
}

.selected-item {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.no-selection {
    color: var(--text-light);
    font-style: italic;
}

.help-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.product-select-checkbox {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 10;
}

.product-card {
    position: relative;
}

.modal-body {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    background-color: white;
    cursor: pointer;
}

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

.product-selection {
    margin-top: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

#additionalProducts {
    display: none;
    margin-top: 0.75rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.modal-buttons .btn {
    flex: 1;
    margin: 0;
    text-align: center;
}

.modal-buttons .btn-primary {
    background: var(--secondary-color);
}

.modal-buttons .btn-secondary {
    background: var(--accent-color);
}

@media (max-width: 768px) {
    .about-detail {
        padding: 60px 20px;
    }

    .about-detail h1 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .about-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-detail-image {
        height: 250px;
        order: -1;
    }

    .about-detail-text {
        padding: 1.5rem;
        width: 100%;
    }
}

/* Modal Products List */
.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: #f0f0f0;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin-bottom: 0.5rem;
}

.collapsible-header:hover {
    background-color: #e8e8e8;
}

.toggle-icon {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.products-list {
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    max-height: 150px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f9f9f9;
    margin-bottom: 1rem;
}

.product-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.product-option:hover {
    background-color: #e8f0f7;
}

.product-option input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.product-option span {
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Login Page Styles */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8f0f7 100%);
    padding: 100px 20px 20px;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-box {
    background: var(--white);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
}

.login-form {
    margin-top: 0;
}

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

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

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.login-form .checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.login-form .checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.login-form .checkbox label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
}

.login-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.login-footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.login-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: var(--primary-color);
}

/* Password visibility toggle */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.password-wrapper input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px 8px;
    transition: opacity 0.2s ease;
}

.password-toggle:hover {
    opacity: 0.7;
}

/* Text link styling for login footer */
.text-link {
    background: none;
    border: none;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

.text-link:hover {
    color: var(--primary-color);
}

/* 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);
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background-color: var(--white);
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8f0f7 100%);
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-body {
    padding: 2rem;
}

.modal-body p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

.modal-body label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.modal-body input,
.modal-body textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.modal-body input:focus,
.modal-body textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.modal-body textarea {
    resize: vertical;
}

/* Account Page Styles */
.account-section {
    min-height: 100vh;
    padding: 100px 20px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0f7 100%);
}

.account-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.account-panel,
.testimonial-panel {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.account-panel h1,
.testimonial-panel h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.account-form,
.testimonial-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-form .form-group,
.testimonial-form .form-group {
    display: flex;
    flex-direction: column;
}

.account-form label,
.testimonial-form label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.account-form input,
.account-form textarea,
.testimonial-form input,
.testimonial-form textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.account-form input:focus,
.account-form textarea:focus,
.testimonial-form input:focus,
.testimonial-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.account-form textarea,
.testimonial-form textarea {
    resize: vertical;
    min-height: 120px;
}

.testimonial-panel p {
    color: var(--text-light);
    line-height: 1.6;
}

.account-form small,
.testimonial-form small {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .account-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Dashboard Styles */
.dashboard-section {
    min-height: 100vh;
    padding: 100px 20px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0f7 100%);
}

.dashboard-welcome {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-welcome h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.user-greeting {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.monkey-container {
    max-width: 1000px;
    margin: 0 auto;
}

.monkey-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.monkey-ascii {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.2;
    overflow-x: auto;
}

.monkey-ascii pre {
    margin: 0;
    color: var(--primary-color);
}

.monkey-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.dashboard-features {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.dashboard-features h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

.feature-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Contractor Dashboard Styles */
.contractor-dashboard {
    padding: 100px 20px 40px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0f7 100%);
}

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

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

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.dashboard-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-content {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.action-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s ease;
    font-weight: 500;
}

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

.events-section {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.events-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.event-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    background: var(--white);
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: var(--secondary-color);
}

.filter-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    padding: 1rem;
    border-left: 4px solid var(--secondary-color);
    background: #f9f9fa;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.event-item:hover {
    background: #f0f2f5;
}

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.dashboard-tab-btn {
    padding: 12px 20px;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.dashboard-tab-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.dashboard-tab-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.dashboard-tab {
    display: none;
}

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

.event-type {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.event-details {
    margin-top: 0.75rem;
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 0.95rem;
}

.loading,
.no-events {
    text-align: center;
    padding: 2.5rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .event-filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.quick-actions {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.quick-actions h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.action-buttons .btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.action-buttons .btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.action-buttons .btn-secondary {
    background: var(--accent-color);
    color: var(--white);
}

.action-buttons .btn-secondary:hover {
    background: #e55a25;
    transform: translateY(-2px);
}

.fun-fact {
    background: linear-gradient(135deg, #fff9e6 0%, #fff0d6 100%);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.fun-fact p {
    margin: 0;
}

/* @media (max-width: 768px) {
    .dashboard-welcome h1 {
        font-size: 1.8rem;
    }
    
    .user-greeting {
        font-size: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
} */

/* Admin Panel Styles */
.admin-section {
    min-height: 100vh;
    padding: 100px 20px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0f7 100%);
}

.admin-section h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.admin-greeting {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 2rem;
}

.admin-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 20px;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    pointer-events: auto;
    user-select: none;
}

.tab-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.tab-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.admin-tab {
    display: none;
}

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

.admin-panel {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.admin-panel h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.pending-list,
.users-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.signup-card,
.user-card {
    background: #f9f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.signup-card:hover,
.user-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.signup-header h3,
.user-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.status-badge,
.role-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
}

.status-badge.pending {
    background: var(--accent-color);
}

.role-badge.contractor {
    background: var(--secondary-color);
}

.role-badge.admin {
    background: #6f42c1;
}

.signup-card p,
.user-card p {
    margin: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.signup-actions,
.user-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.user-actions .btn {
    flex: 1 1 auto;
    min-width: 120px;
}

.btn-success {
    background: #28a745;
}

.btn-success:hover {
    background: #218838;
}

.btn-danger {
    background: #dc3545;
}

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

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
}

.admin-form .form-group {
    display: flex;
    flex-direction: column;
}

.admin-form label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.admin-form input,
.admin-form select {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.admin-form input:focus,
.admin-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .admin-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .admin-panel {
        padding: 1rem;
    }
    
    .signup-card,
    .user-card {
        padding: 1rem;
    }
    
    .signup-header,
    .user-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .signup-header h3,
    .user-header h3 {
        font-size: 1rem;
        word-break: break-word;
        max-width: 100%;
    }
    
    .signup-card p,
    .user-card p {
        font-size: 0.85rem;
    }
    
    .signup-actions,
    .user-actions {
        flex-direction: column;
    }
    
    .user-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .admin-form {
        max-width: 100%;
    }
    
    .floating-testimonial {
        max-width: 128px !important;
        padding: 7px 10px !important;
        font-size: 0.525rem !important;
    }
    
    .floating-testimonial .author {
        font-size: 0.575rem !important;
        margin-bottom: 4px !important;
    }
    
    .floating-testimonial .quote {
        font-size: 0.525rem !important;
    }
}