/* 🌱 X10 Zahradnici - Modern CSS Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    overflow-x: hidden;
    background: #f8fafc;
    min-height: 100vh;
}

/* ========================================
   CSS CUSTOM PROPERTIES
======================================== */
:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

/* ========================================
   MODERN NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   DESKTOP/MOBILE NAVIGATION VISIBILITY
======================================== */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* ========================================
   DROPDOWN NAVIGATION
======================================== */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-arrow {
    transition: transform 0.2s ease;
    font-size: 0.8em;
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

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

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-link:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.dropdown-link span {
    font-size: 1.1em;
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-600);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 1000px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
        display: flex;
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        animation: slideIn 0.3s ease forwards;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.5s; }
    
    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-container {
        padding: 0 1rem;
    }

    /* Mobile direct navigation links */
    .mobile-only .nav-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        width: 100%;
    }

    /* Mobile/Desktop visibility toggle */
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-visual {
        margin-top: 1rem;
    }
    
    .hero-image {
        height: 300px; /* Smaller height on mobile */
    }
}

/* Extra small screens - force vertical layout */
@media (max-width: 768px) {
    .hero {
        min-height: auto !important;
    }
    
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        grid-template-columns: none !important;
    }
    
    .hero-content {
        width: 100% !important;
        order: 2 !important;
    }
    
    .hero-visual {
        width: 100% !important;
        order: 1 !important;
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-image {
        margin-top: 0.9em;
        height: 3.9em !important;
        background-position: top center !important;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        margin: 0 !important;
    }
    
    /* Smaller text for mobile lists/tables */
    .gardeners-table,
    .quotes-table {
        font-size: 0.85rem;
    }
    
    .gardeners-table th,
    .quotes-table th {
        font-size: 0.8rem;
        padding: 0.75rem 0.5rem;
    }
    
    .gardeners-table td,
    .quotes-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .card-header {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .gardener-description,
    .quote-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* Smaller buttons in tables on mobile */
    .gardeners-table button,
    .quotes-table button {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Smaller search box text */
    .search-box {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    /* Smaller info text */
    .search-results-info {
        font-size: 0.85rem;
    }
    
    /* Smaller recommendation cards text */
    .recommendation-card {
        font-size: 0.85rem;
    }
    
    .recommendation-card h4 {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.875rem 1.25rem;
        min-height: 2.75rem;
        width: 100% !important;
    }

    .hero-stats {
        justify-content: center;
    }

    .welcome-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .welcome-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }

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

    .action-buttons {
        gap: 0.5rem;
    }

    .action-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .user-stats {
        gap: 0.75rem;
    }

    .stat-item {
        padding: 0.75rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .hero-welcome {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .dashboard-title {
        font-size: 2rem;
    }

    .dashboard-subtitle {
        font-size: 1rem;
    }

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

    .action-block {
        padding: 1.5rem;
    }

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

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

    .activity-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(56, 142, 60, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        padding-top: 2rem;
        gap: 0;
    }
    
    .navbar-menu.active {
        left: 0;
    }
    
    .navbar-item {
        width: 90%;
        margin: 8px 0;
    }
    
    .navbar-link {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--light) 0%, #e0f2fe 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="180" cy="120" r="90" fill="%2381c784" opacity="0.2"/></svg>');
    opacity: 0.5;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    margin-top: 0;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
    min-height: 3rem;
    margin: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #16a34a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--gray-800);
    border: 2px solid var(--gray-300);
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

.hero-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(28, 220, 98, 0.068) 100%), url('/static/css/img/udelejzahradu.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="70" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
}

.floating-elements {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.floating-elements:nth-child(1) {
    top: -30px;
    right: -30px;
    animation: float 3s ease-in-out infinite;
}

.floating-elements:nth-child(2) {
    bottom: -30px;
    left: -30px;
    animation: float 3s ease-in-out infinite reverse;
    animation-delay: 1s;
}

/* ========================================
   WELCOME SECTION
======================================== */
.welcome-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e9 100%);
    border-bottom: 1px solid var(--gray-200);
}

.welcome-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.1);
    overflow: hidden;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.welcome-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.welcome-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="70" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.welcome-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    position: relative;
    z-index: 1;
}

.avatar-icon {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.welcome-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.welcome-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.welcome-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-right: 0.5rem;
    backdrop-filter: blur(10px);
}

.role-badge.admin {
    background: rgba(255, 152, 0, 0.9);
}

.role-badge.user {
    background: rgba(76, 175, 80, 0.9);
}

.welcome-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.action-group h3,
.stats-group h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.action-icon {
    font-size: 1.2rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

/* Admin button special styling */
.action-btn.admin-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.action-btn.admin-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-icon {
    font-size: 1.1rem;
}

.user-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ========================================
   DASHBOARD STYLES
======================================== */
.dashboard-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0 3rem 0;
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="70" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-welcome {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.welcome-avatar-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.avatar-icon-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.hero-text {
    flex: 1;
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.dashboard-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.role-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    margin-right: 1rem;
    backdrop-filter: blur(10px);
}

.role-badge-large.admin {
    background: rgba(255, 152, 0, 0.9);
}

.role-badge-large.user {
    background: rgba(76, 175, 80, 0.9);
}

.dashboard-actions {
    padding: 4rem 0;
    background: var(--light);
}

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

.action-block {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.15);
    border-color: var(--primary);
}

.action-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.action-block:hover::before {
    transform: scaleX(1);
}

.action-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.action-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.2)"/><circle cx="75" cy="50" r="1.5" fill="rgba(255,255,255,0.2)"/><circle cx="50" cy="75" r="1" fill="rgba(255,255,255,0.2)"/></svg>');
    opacity: 0.6;
}

.action-icon-large {
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.action-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.action-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.action-stats {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.action-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.action-stats .stat-text {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.action-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--gray-300);
    transition: all 0.3s ease;
}

.action-block:hover .action-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

.recent-activity {
    padding: 4rem 0;
    background: white;
}

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

.activity-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.section-icon {
    font-size: 2.2rem;
}

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

.activity-card {
    background: var(--gray-100);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.activity-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.activity-content p {
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.activity-content small {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.page-header {
    padding-top: 90px;
}

.main-content {
    padding: 4rem 0;
}

/* ========================================
   CARD COMPONENTS
======================================== */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
    color: white;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.card-header .header-icon {
    margin-right: 10px;
    font-size: 1.3rem;
}

.card-body {
    padding: 2rem;
}

/* ========================================
   SEARCH COMPONENT
======================================== */
.search-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.search-wrapper {
    position: relative;
}

.search-box {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid #e8f5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

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

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
    pointer-events: none;
}

.search-results-info {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.search-results-info.no-results {
    color: #d32f2f;
}

/* ========================================
   TABLE STYLES
======================================== */
.table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.1);
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead th {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    color: #2e7d32;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #c8e6c9;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: top;
    transition: background-color 0.2s ease;
}

.data-table tbody tr {
    transition: all 0.2s ease;
    cursor: pointer;
    border-left: 4px solid transparent;
}

.data-table tbody tr:hover {
    background-color: #f8fff8;
}

.data-table tbody tr.highlighted {
    background-color: #e8f5e9 !important;
    border-left: 4px solid #4caf50;
}

.data-table tbody tr.hidden {
    display: none;
}

/* ========================================
   FORM STYLES
======================================== */
.form-container {
    max-width: 100%;
    margin: 2rem auto;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2e7d32;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8f5e9;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

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

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

/* ========================================
   BUTTON STYLES
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background: #f5f5f5;
    color: #2e7d32;
    border: 2px solid #e8f5e9;
}

.btn-secondary:hover {
    background: #e8f5e9;
    border-color: #4caf50;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn .btn-icon {
    margin-right: 8px;
}

/* ========================================
   MAP STYLES
======================================== */
.map-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

#map {
    height: 400px;
    width: 100%;
    border: 1px solid #ccc;
}

/* Map on forms should be smaller */
.form-container #map {
    height: 300px;
    margin-top: 15px;
}

/* ========================================
   QUOTES-SPECIFIC STYLES
======================================== */
.quotes-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.quotes-table-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.1);
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.quotes-table {
    width: 100%;
    border-collapse: collapse;
}

.quotes-table th {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    color: #2e7d32;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #c8e6c9;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quotes-table td {
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: top;
    transition: background-color 0.2s ease;
}

.quotes-table tr {
    transition: all 0.2s ease;
    cursor: pointer;
    border-left: 4px solid transparent;
}

.quotes-table tr:hover {
    background-color: #f8fff8;
}

.quotes-table tr.highlighted {
    background-color: #e8f5e9 !important;
    border-left: 4px solid #4caf50;
}

.quotes-table tr.hidden {
    display: none;
}

.quote-description {
    max-width: 300px;
    word-wrap: break-word;
}

.contact-info {
    font-size: 0.9em;
}

/* Contact info in tables */
.data-table .contact-info,
.quotes-table .contact-info,
.gardeners-table .contact-info {
    color: #2e7d32;
    font-weight: 500;
}

.data-table td .contact-info,
.quotes-table td,
.gardeners-table td {
    color: #333;
}

.location-info {
    font-size: 0.9em;
    color: #666;
}

.no-quotes {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-style: italic;
}

/* ========================================
   GARDENERS-SPECIFIC STYLES  
======================================== */
.gardeners-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.gardeners-table-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.1);
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.gardeners-table {
    width: 100%;
    border-collapse: collapse;
}

.gardeners-table th {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    color: #2e7d32;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #c8e6c9;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gardeners-table td {
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: top;
    transition: background-color 0.2s ease;
}

.gardeners-table tr {
    transition: all 0.2s ease;
    cursor: pointer;
    border-left: 4px solid transparent;
}

.gardeners-table tr:hover {
    background-color: #f8fff8;
}

.gardeners-table tr.highlighted {
    background-color: #e8f5e9 !important;
    border-left: 4px solid #4caf50;
}

.gardeners-table tr.hidden {
    display: none;
}

.gardener-description {
    max-width: 400px;
    word-wrap: break-word;
}

.gardener-item {
    margin-bottom: 10px;
}

/* Legacy support for old gardener list */
#gardener-list {
    display: none;
    max-height: 250px;
    overflow-y: auto;
    margin: 20px;
    padding: 10px;
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}

/* ========================================
   FOOTER STYLES
======================================== */
.footer {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    padding: 3rem 0 1.5rem 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="footergrain" width="100" height="20" patternUnits="userSpaceOnUse"><circle cx="15" cy="5" r="0.8" fill="white" opacity="0.05"/><circle cx="45" cy="12" r="1.2" fill="white" opacity="0.05"/><circle cx="75" cy="8" r="0.6" fill="white" opacity="0.05"/><circle cx="30" cy="15" r="1" fill="white" opacity="0.05"/><circle cx="85" cy="3" r="0.9" fill="white" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23footergrain)"/></svg>');
    opacity: 0.3;
}

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

.footer-section h3 {
    color: #c8e6c9;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-section h3 .footer-icon {
    margin-right: 8px;
    font-size: 1.3rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #c8e6c9;
    transform: translateX(4px);
}

.footer-links a .link-icon {
    margin-right: 8px;
    font-size: 1rem;
}

.contact-info {
    margin-bottom: 0.8rem;
}

.contact-info,
.contact-info a {
    color: rgba(34, 32, 32, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
}


.contact-info .contact-icon {
    margin-right: 8px;
    font-size: 1rem;
    color: #c8e6c9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo .logo-icon {
    margin-right: 10px;
    font-size: 2rem;
}

/* ========================================
   AUTHENTICATION STYLES
======================================== */
.alert {
    padding: 12px 16px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.95rem;
    position: relative;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8f5e9;
}

.auth-links p {
    margin: 0;
    color: #666;
}

.auth-links a {
    color: #4caf50;
    text-decoration: none;
    font-weight: 600;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.demo-credentials {
    background: #f8fff8;
    border: 1px solid #e8f5e9;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.demo-credentials h4 {
    margin: 0 0 0.5rem 0;
    color: #2e7d32;
    font-size: 0.9rem;
}

.demo-credentials p {
    margin: 0.25rem 0;
    font-size: 0.85rem;
    color: #666;
}

.profile-info {
    margin-bottom: 2rem;
}

.profile-field {
    margin-bottom: 1.5rem;
}

.profile-value {
    background: #f8fff8;
    border: 1px solid #e8f5e9;
    border-radius: 6px;
    padding: 12px 16px;
    color: #2e7d32;
    font-weight: 500;
    margin-top: 4px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.badge-user {
    background: #4caf50;
    color: white;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e8f5e9;
}

.profile-actions .btn {
    flex: 1;
    min-width: 160px;
    text-align: center;
    justify-content: center;
}

.phone-update-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}

.phone-update-form .form-input {
    flex: 1;
    margin: 0;
}

.phone-update-form .btn {
    flex-shrink: 0;
}

.profile-section {
    margin-top: 2rem;
}

.profile-section .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-danger {
    background: #d32f2f;
    color: white;
    border: none;
}

.btn-danger:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.admin-creator-info {
    font-size: 0.9rem;
}

.admin-creator-info small {
    color: #666;
    font-size: 0.8rem;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none !important; }

.no-data {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-style: italic;
}

/* ========================================
   HYBRID LOGGED-IN USER STYLES
======================================== */

/* Personalized Header */
.personalized-header {
    background: linear-gradient(135deg, var(--light) 0%, #e0f2fe 100%);
    padding: 2rem 0;
    margin-top: 80px;
    border-bottom: 1px solid var(--gray-200);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

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

.greeting-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-icon-small {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.greeting-text h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.greeting-text p {
    color: var(--gray-600);
    margin: 0;
}

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

.stat-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: transform 0.2s ease;
}

.stat-chip:hover {
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.2rem;
}

.stat-number {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.stat-text {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Smart Recommendations */
.recommendations {
    padding: 2rem 0;
    background: #f8fafc;
}

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

.recommendations-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-900);
    font-size: 1.3rem;
    margin: 0;
}

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

.recommendation-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    background: white;
    border: 1px solid var(--gray-300);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.filter-btn:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

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

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

.recommendation-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.rec-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rec-content {
    flex: 1;
}

.rec-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.rec-description {
    color: var(--gray-600);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.rec-location {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.rec-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.recommendation-card:hover .rec-action {
    background: var(--primary);
}

.rec-arrow {
    color: var(--primary);
    font-weight: 600;
    transition: color 0.2s ease;
}

.recommendation-card:hover .rec-arrow {
    color: white;
}

.no-recommendations {
    text-align: center;
    padding: 2rem;
    color: var(--gray-500);
    grid-column: 1 / -1;
}

/* Recent Activity Footer */
.recent-activity-footer {
    background: #f1f5f9;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-200);
}

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

.activity-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-900);
    margin: 0;
    font-size: 1.2rem;
}

.view-all-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: var(--primary-dark);
}

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

.activity-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.activity-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.activity-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.activity-count {
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.activity-detail {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.activity-detail a {
    color: var(--primary);
    text-decoration: none;
}

.activity-detail a:hover {
    text-decoration: underline;
}

.quick-action-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quick-btn {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.quick-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ========================================
   USER TYPE SELECTION STYLES
======================================== */
.user-type-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.user-type-card {
    position: relative;
}

.user-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.user-type-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.user-type-label:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.1);
}

.user-type-card input[type="radio"]:checked + .user-type-label {
    border-color: var(--primary);
    background: rgba(34, 197, 94, 0.05);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15);
}

.user-type-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.user-type-card input[type="radio"]:checked + .user-type-label .user-type-icon {
    background: var(--primary);
    color: white;
}

.user-type-content h4 {
    margin: 0 0 0.25rem 0;
    color: var(--gray-900);
    font-size: 1.1rem;
    font-weight: 600;
}

.user-type-content p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.3;
}

.user-type-card input[type="radio"]:checked + .user-type-label .user-type-content h4 {
    color: var(--primary);
}

/* Compact user type selection for profile */
.user-type-selection.compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.user-type-selection.compact .user-type-label {
    padding: 1rem;
    gap: 0.75rem;
    flex-direction: column;
    text-align: center;
}

.user-type-selection.compact .user-type-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    margin: 0 auto;
}

.user-type-selection.compact .user-type-content h4 {
    font-size: 0.9rem;
}

.user-type-selection.compact .user-type-content p {
    display: none;
}

/* ========================================
   DEMO CREDENTIALS STYLES
======================================== */
.demo-credentials {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
}

.demo-credentials h4 {
    margin: 0 0 1rem 0;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.demo-account {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: all 0.2s ease;
}

.demo-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.demo-account strong {
    color: var(--gray-900);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.demo-account code {
    background: var(--gray-100);
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    font-weight: 600;
}

.demo-account small {
    display: block;
    color: var(--gray-600);
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-style: italic;
}

.demo-note {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    font-style: italic;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1000px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    /* Hybrid logged-in user mobile styles */
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .quick-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-chip {
        min-width: 80px;
        justify-content: center;
    }
    
    .recommendations-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .recommendation-filters {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .recommendation-card {
        padding: 1rem;
    }
    
    .activity-cards {
        grid-template-columns: 1fr;
    }
    
    .activity-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .quick-action-buttons {
        flex-direction: column;
    }
    
    .search-container {
        padding: 1.5rem;
    }
    
    /* User type selection mobile styles */
    .user-type-selection {
        grid-template-columns: 1fr;
    }
    
    .user-type-label {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .user-type-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    /* Demo credentials mobile styles */
    .demo-accounts {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .demo-account {
        padding: 1rem;
    }
    
    .data-table {
        font-size: 0.9rem;
    }
    
    .data-table thead th,
    .data-table tbody td {
        padding: 12px 8px;
    }
    
    .form-container {
        margin: 1rem auto;
    }
    
    #map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .card-header {
        padding: 1rem 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .search-container {
        padding: 1rem;
    }
    
    .data-table thead th,
    .data-table tbody td {
        padding: 10px 6px;
        font-size: 0.85rem;
    }
}

/* ========================================
   RECOMMENDATION BADGES & LOADING
======================================== */
.rec-badge {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

.rec-badge:contains('🚨') {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.rec-badge:contains('⏰') {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.rec-badge:contains('🎯') {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.loading-recommendations {
    text-align: center;
    padding: 2rem;
    color: var(--gray-600);
    font-style: italic;
    background: var(--gray-100);
    border-radius: 12px;
    margin: 1rem 0;
}

.no-recommendations {
    text-align: center;
    padding: 2rem;
    color: var(--gray-600);
    font-style: italic;
    background: var(--gray-100);
    border-radius: 12px;
    margin: 1rem 0;
}

/* Enhanced recommendation cards */
.recommendation-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.recommendation-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.rec-content {
    position: relative;
}

.rec-location {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray-600);
    font-weight: 500;
}

.rec-contacts {
    display: block;
    margin: 0.3rem 0;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.8rem;
}

@keyframes pulse-urgent {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.rec-badge:contains('🚨') {
    animation: pulse-urgent 2s infinite;
}

/* ========================================
   URGENCY OPTIONS FOR QUOTE FORM
======================================== */
.urgency-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.urgency-option {
    cursor: pointer;
    position: relative;
}

.urgency-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.urgency-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.urgency-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.urgency-option input[type="radio"]:checked + .urgency-card {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.urgency-card.urgent {
    border-color: #ef4444;
}

.urgency-card.urgent:hover {
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.urgency-option input[type="radio"]:checked + .urgency-card.urgent {
    border-color: #ef4444;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: pulse-urgent 3s infinite;
}

.urgency-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.urgency-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.urgency-content p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

.urgency-option input[type="radio"]:checked + .urgency-card .urgency-content p {
    opacity: 0.9;
}

/* Responsive urgency options */
@media (max-width: 1000px) {
    .urgency-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .urgency-card {
        padding: 0.75rem;
    }
    
    .urgency-icon {
        font-size: 1.5rem;
    }
    
    .urgency-content h4 {
        font-size: 0.9rem;
    }
    
    .urgency-content p {
        font-size: 0.75rem;
    }
}

/* ========================================
   GARDENER DETAIL PAGE
======================================== */
.gardener-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gardener-info-card,
.contact-form-card {
    height: fit-content;
}

.gardener-details h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.popularity-info {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.popularity-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.popularity-badge.popular {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.popularity-badge.in-demand {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.contact-stats {
    display: block;
    color: var(--gray-600);
    font-style: italic;
}

.service-description,
.location-info {
    margin: 1.5rem 0;
}

.service-description h3,
.location-info h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-description p {
    line-height: 1.6;
    color: var(--gray-700);
}

.contact-form {
    max-width: 100%;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.radio-option:hover {
    background: var(--gray-100);
}

.radio-option input[type="radio"] {
    margin-right: 0.5rem;
}

.radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    margin-right: 0.5rem;
    position: relative;
    transition: border-color 0.2s;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.contact-info-note {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.contact-info-note p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.contact-info-note ul {
    margin: 0;
    padding-left: 1.2rem;
}

.contact-info-note li {
    margin-bottom: 0.3rem;
    color: var(--gray-700);
}

.services-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.service-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Responsive design */
@media (max-width: 1000px) {
    .gardener-detail-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .radio-group {
        gap: 0.3rem;
    }
    
    .radio-option {
        padding: 0.3rem;
    }
}

/* ========================================
   SERVICE TYPES SELECTION
======================================== */
.service-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.service-option {
    cursor: pointer;
    position: relative;
}

.service-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.service-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.service-option input[type="checkbox"]:checked + .service-card {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.service-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray-600);
    font-size: 0.85rem;
    font-style: italic;
}

/* Responsive service types */
@media (max-width: 1000px) {
    .service-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .service-card {
        padding: 0.75rem;
    }
    
    .service-icon {
        font-size: 1.5rem;
    }
    
    .service-name {
        font-size: 0.8rem;
    }
}

/* Login Required Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
}

.popup-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
    transform: translateY(0);
}

.popup-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.popup-header h3 {
    margin: 0;
    color: var(--gray-900);
    font-size: 1.2rem;
    font-weight: 600;
}

.popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

.popup-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.popup-icon {
    margin-bottom: 1rem;
}

.large-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.popup-body p {
    margin-bottom: 1rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.popup-body p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--primary-dark);
}

.popup-actions {
    padding: 0 1.5rem 2rem;
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.popup-actions .btn {
    margin: 0;
    justify-content: center;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float::before {
    content: "💬";
    font-size: 1.5rem;
    color: white;
}

/* Hide floating button on mobile to avoid footer overlap */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float::before {
        font-size: 1.25rem;
    }
}

/* Responsive popup */
@media (max-width: 480px) {
    .popup-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .popup-header {
        padding: 1rem;
    }
    
    .popup-body {
        padding: 1.5rem 1rem;
    }
    
    .popup-actions {
        padding: 0 1rem 1.5rem;
        gap: 0.75rem;
    }
    
    .large-icon {
        font-size: 2.5rem;
    }
}

/* ========================================
   QUESTIONNAIRE STYLES
======================================== */
.questionnaire-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(46, 125, 50, 0.9) 0%, rgba(27, 94, 32, 0.8) 100%),
        url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3') center/cover no-repeat;
    /* Fallback for when image fails to load */
    background-color: #2e7d32;
    background-attachment: fixed;
    padding: 20px;
    position: relative;
}

.questionnaire-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(76, 175, 80, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 195, 74, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.questionnaire-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25), 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.questionnaire-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4caf50, #81c784, #66bb6a);
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e9ecef;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: #4caf50;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
}

.step-dot.completed {
    background: #66bb6a;
}

.questionnaire-header {
    text-align: center;
    margin-bottom: 40px;
}

.questionnaire-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.questionnaire-header p {
    font-size: 18px;
    color: #718096;
    margin: 0;
}

.step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

.question-text {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

.options-container {
    display: grid;
    gap: 15px;
    margin-bottom: 40px;
}

.option-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.option-card:hover {
    border-color: #4caf50;
    background: #e8f5e8;
    transform: translateY(-2px);
}

.option-card.selected {
    border-color: #4caf50;
    background: #e8f5e8;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
}

.option-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.option-content {
    flex: 1;
}

.option-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.option-description {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.service-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.service-option:hover {
    border-color: #4caf50;
    background: #e8f5e8;
}

.service-option.selected {
    border-color: #4caf50;
    background: #e8f5e8;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
}

.service-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.service-name {
    font-weight: 600;
    color: #2d3748;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.btn-back {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.btn-next {
    background: #4caf50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
    pointer-events: none;
}

.btn-next.enabled {
    opacity: 1;
    pointer-events: auto;
}

.btn-next.enabled:hover {
    background: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.results-container {
    text-align: center;
}

.results-summary {
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.results-title {
    font-size: 20px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 10px;
}

.results-list {
    color: #2d3748;
    margin: 0;
}

.btn-view-results {
    background: #4caf50;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-results:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.3);
}

/* ========================================
   QUESTIONNAIRE RESULTS STYLES
======================================== */
.filter-display {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-weight: 600;
    color: #495057;
    margin-right: 10px;
}

.service-chip {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid #4caf50;
}

.result-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.result-card:hover, .result-card.highlighted {
    border-color: #4caf50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
    transform: translateY(-2px);
}

.result-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.result-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.result-name {
    color: #2d3748;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.result-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.popularity-badge {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

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

.urgency-badge.urgent {
    background: #ffebee;
    color: #c62828;
}

.urgency-badge.soon {
    background: #fff3e0;
    color: #ef6c00;
}

.urgency-badge.normal {
    background: #f8f9fa;
    color: #495057;
}

.result-date {
    font-size: 14px;
    color: #718096;
    margin-top: 5px;
}

.result-description {
    color: #4a5568;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.result-location {
    color: #718096;
    margin: 0;
    font-size: 14px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}

.service-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 12px;
    border: 1px solid #dee2e6;
}

.result-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-info-authenticated {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

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

.contact-btn-locked {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn-locked:hover {
    background: #5a6268;
}

.contact-protected {
    display: flex;
    gap: 10px;
    align-items: center;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #4a5568;
    margin-bottom: 10px;
}

.results-count {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Questionnaire mobile responsive styles */
/* ========================================
   MODERN QUOTE DETAIL STYLES (2025)
======================================== */
.quote-detail-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.quote-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.quote-title-section h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.quote-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.meta-item {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.urgency-badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
}

.urgency-badge.urgent {
    background: #fee2e2;
    color: #dc2626;
}

.urgency-badge.soon {
    background: #fed7aa;
    color: #ea580c;
}

.urgency-badge.normal {
    background: #e0f2fe;
    color: #0369a1;
}

.quote-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.project-details-card, .contact-actions-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.project-details-card .card-header,
.contact-actions-card .card-header {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 1.5rem 2rem;
    border: none;
}

.project-details-card .card-header h2,
.contact-actions-card .card-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.project-details-card .card-body,
.contact-actions-card .card-body {
    padding: 2rem;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #22c55e;
}

.description-text.empty {
    color: #9ca3af;
    font-style: italic;
}

.project-specs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spec-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.spec-value {
    color: #4b5563;
    font-size: 1rem;
}

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

.service-badge {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.location-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.location-header h3 {
    margin-bottom: 1rem;
    color: #374151;
    font-size: 1.125rem;
}

.quote-map {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* Contact & Actions Card Styles */
.contact-section {
    margin-bottom: 2rem;
}

.contact-info {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.contact-link {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

/* Specific styling for quote detail contact icons */
.contact-section .contact-icon {
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-size: 1.1rem;
    vertical-align: middle;
}

/* Ensure contact items are properly aligned */
.contact-section .contact-item {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

.contact-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-btn, .phone-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.email-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.phone-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.pro-tips {
    background: #eff6ff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #bfdbfe;
}

.tip-header {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.pro-tips p {
    color: #1e40af;
    margin: 0;
    line-height: 1.6;
}

.login-required {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-required:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

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

.login-content h3 {
    color: #374151;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.login-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.login-hint {
    color: #4b5563;
    font-size: 0.875rem;
    font-style: italic;
}

.no-contact {
    background: #fef3c7;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: #92400e;
}

/* Mobile Responsive */
@media (max-width: 1000px) {
    .quote-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quote-header {
        padding: 1.5rem;
    }
    
    .quote-title-section h1 {
        font-size: 1.5rem;
    }
    
    .quote-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .project-details-card .card-body,
    .contact-actions-card .card-body {
        padding: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .quote-detail-modern {
        padding: 1rem 0;
    }
    
    .quote-header {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .quote-content-grid {
        gap: 1rem;
    }
    
    .project-details-card .card-header,
    .contact-actions-card .card-header {
        padding: 1rem;
    }
    
    .project-details-card .card-body,
    .contact-actions-card .card-body {
        padding: 1rem;
    }
    
    .description-text {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .services-badges {
        flex-direction: column;
    }
    
    .service-badge {
        text-align: center;
    }
    
    .login-required {
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .questionnaire-card {
        padding: 20px;
        margin: 10px;
    }
    
    .question-text {
        font-size: 20px;
    }
    
    .option-card {
        padding: 15px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .result-title-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-chips {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-info-authenticated, .contact-protected {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ========================================
   ADMIN TOOLS STYLES
======================================== */
.admin-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    margin-bottom: 30px;
}

.admin-section .card {
    background: transparent;
    border: none;
    box-shadow: none;
}

.admin-section .card-header {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-section .card-header .header-icon {
    font-size: 1.5em;
}

.admin-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.admin-tool-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.admin-tool-card:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    text-decoration: none;
    color: #1e293b;
}

.tool-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.tool-info {
    flex: 1;
}

.tool-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1e293b;
}

.tool-description {
    font-size: 0.9em;
    color: #64748b;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .admin-tools-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .admin-tool-card {
        padding: 15px;
        gap: 12px;
    }
    
    .tool-icon {
        font-size: 2em;
    }
    
    .tool-title {
        font-size: 1.1em;
    }
    
    .tool-description {
        font-size: 0.85em;
    }
}