﻿:root {
    --google-blue: #1a73e8;
    --google-blue-hover: #1557b0;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --bg-gray: #f8f9fa;
    --border-color: #dadce0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Google Sans', 'Roboto', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--google-blue);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo .material-icons {
    color: var(--google-blue);
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-family: 'Google Sans', sans-serif;
    font-weight: 500;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--google-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--google-blue-hover);
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--google-blue);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-gray);
}

/* Hero Section */
.hero {
    margin-top: 65px;
    padding: 80px 24px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Features Section */
.features {
    background-color: var(--bg-gray);
    padding: 80px 24px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #e8f0fe;
    color: var(--google-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon .material-icons {
    font-size: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 500;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Support Section */
.support {
    padding: 80px 24px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.support h2 {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 500;
}

.support p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 32px;
}

.contact-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--bg-gray);
    border-radius: 24px;
    font-size: 18px;
    font-weight: 500;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 32px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Document / Legal Pages */
.doc-content {
    margin-top: 65px;
    padding: 60px 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.doc-content h1 {
    font-size: 40px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.doc-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--google-blue);
}

.doc-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.doc-content ul {
    margin-left: 24px;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.doc-content li {
    margin-bottom: 8px;
}

/* Mobile Navigation Button (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.2s ease;
    line-height: 1;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
    background-color: var(--bg-gray);
    color: var(--google-blue);
    border-color: var(--google-blue);
}

.mobile-menu-btn .material-icons {
    font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 12px 16px;
    }

    .hero h1 {
        font-size: 34px;
    }
    .hero p {
        font-size: 16px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 61px;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 18px 24px 18px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
        z-index: 10000;
        max-height: calc(100vh - 61px);
        overflow-y: auto;
        box-sizing: border-box;
    }

    .nav-links.active {
        display: flex !important;
        animation: mobileNavSlide 0.2s cubic-bezier(0, 0, 0.2, 1);
    }

    .nav-links a {
        padding: 12px 14px;
        font-size: 15px;
        font-weight: 500;
        color: var(--text-primary);
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        border-bottom: 1px solid #f1f3f4;
        transition: background 0.15s, color 0.15s;
    }

    .nav-links a:hover,
    .nav-links a:active {
        background-color: var(--bg-gray);
        color: var(--google-blue);
    }

    .dropdown {
        width: 100%;
        display: block;
    }

    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        cursor: pointer !important;
    }

    .dropdown-content {
        position: static !important;
        display: none;
        box-shadow: none !important;
        border: 1px solid var(--border-color) !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
        margin: 6px 0 10px 0 !important;
        padding: 6px 0 !important;
        width: 100% !important;
    }

    .dropdown.mobile-open .dropdown-content {
        display: block !important;
    }

    .dropdown-content a {
        padding: 10px 18px 10px 24px !important;
        font-size: 14px !important;
        border-bottom: 1px solid #e8eaed;
    }

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    .nav-portal-btn,
    .nav-links a[href*="portal.html"] {
        margin-top: 8px;
        background: var(--google-blue) !important;
        color: #ffffff !important;
        justify-content: center;
        font-weight: 600;
        box-shadow: 0 2px 6px rgba(26, 115, 232, 0.3);
    }

    .nav-portal-btn:hover,
    .nav-links a[href*="portal.html"]:hover {
        background: var(--google-blue-hover) !important;
        color: #ffffff !important;
    }

    footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@keyframes mobileNavSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


        :root {
            --primary: #1a73e8;
            --primary-light: #e8f0fe;
            --success: #1e8e3e;
            --danger: #d93025;
            --bg-light: #f8f9fa;
            --text-main: #202124;
            --text-muted: #5f6368;
            --border: #dadce0;
        }

        .learn-content {
            margin-top: 65px;
            padding: 80px 24px;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
        }

        .header-text {
            text-align: center;
            margin-bottom: 50px;
        }

        .header-text h2 {
            font-size: clamp(2rem, 4vw, 2.5rem);
            font-weight: 700;
            margin: 0 0 16px 0;
            line-height: 1.2;
        }

        .header-text p {
            font-size: clamp(1.1rem, 3vw, 1.2rem);
            color: var(--text-muted);
            max-width: 700px;
            margin: 0 auto;
        }

        .grid-container, .pricing-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 24px;
            margin-bottom: 80px;
        }

        .card {
            background: #fff;
            border-radius: 12px;
            padding: 32px;
            border: 1px solid var(--border);
            position: relative;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
        }

        .card-old {
            border-top: 5px solid var(--text-muted);
            background: var(--bg-light);
        }

        .card-new {
            border: 2px solid var(--primary);
            border-top: 5px solid var(--primary);
            box-shadow: 0 10px 25px -5px rgba(26, 115, 232, 0.15);
            z-index: 1;
        }

        @media (min-width: 768px) {
            .card-new {
                transform: scale(1.03);
            }
        }

        .winner-badge, .badge {
            position: absolute;
            top: -14px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: white;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 6px rgba(26, 115, 232, 0.3);
            white-space: nowrap;
        }

        .card-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin: 0 0 8px 0;
            text-align: center;
        }

        .card-new .card-title {
            color: var(--primary);
            margin-top: 8px;
        }

        .card-subtitle {
            font-size: 1rem;
            color: var(--text-muted);
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border);
            text-align: center;
        }

        .price-container {
            text-align: center;
            margin-bottom: 24px;
            padding-bottom: 24px;
            border-bottom: 1px solid var(--border);
        }

        .price {
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1;
            margin: 0;
            color: var(--text-main);
        }

        .price span {
            font-size: 1.2rem;
            font-weight: 500;
            color: var(--text-muted);
        }

        .card-new .price {
            color: var(--primary);
        }

        .strike-price {
            text-decoration: line-through;
            text-decoration-color: var(--danger);
            text-decoration-thickness: 3px;
        }

        ul.features {
            list-style: none;
            padding: 0;
            margin: 0 0 24px 0;
            flex-grow: 1;
        }

        ul.features li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 16px;
            color: var(--text-main);
        }

        .icon {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-weight: bold;
        }

        .icon-red { color: var(--danger); }
        .icon-green { color: var(--success); }
        .icon-check { background: #e6f4ea; color: var(--success); }
        .icon-cross { background: #fce8e6; color: var(--danger); }

        .feature-title {
            font-weight: 500;
            display: block;
            font-size: 1rem;
            margin-bottom: 4px;
        }

        .feature-desc {
            color: var(--text-muted);
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--border);
            color: var(--text-muted);
            pointer-events: none; 
            text-align: center;
            padding: 12px;
            border-radius: 4px;
            font-weight: 500;
        }
        
        .btn-full {
            display: block;
            width: 100%;
            text-align: center;
            padding: 12px;
            border-radius: 4px;
            font-weight: 500;
            text-decoration: none;
        }

        .footnote {
            text-align: center;
            font-size: 0.85rem;
            color: var(--text-muted);
            margin: 16px 0 0 0;
            font-style: italic;
            line-height: 1.4;
        }

        .install-links {
            text-align: center;
            margin-top: 60px;
            padding-top: 40px;
            border-top: 1px solid var(--border);
        }

        .install-links h3 {
            font-size: 1.8rem;
            margin-bottom: 24px;
        }

        .install-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: center;
        }
    

        :root {
            --primary: #2563eb;
            --primary-hover: #1d4ed8;
            --primary-light: #eff6ff;
            --secondary: #f8fafc;
            --success: #16a34a;
            --danger: #dc2626;  
            --danger-hover: #b91c1c;
            --warning: #d97706;
            --warning-bg: #fffbeb;
            --warning-border: #fcd34d;
            --warning-text: #92400e;
            --bg-main: #f1f5f9;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --card-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
            --focus-ring: 0 0 0 3px rgba(37,99,235,0.2);
        }

        
        
        .tester-container { width: 100%; max-width: 650px; margin: 40px auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--card-shadow); overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
        
        .header-tester { background: var(--secondary); padding: 30px 30px 0 30px; border-bottom: 1px solid var(--border); text-align: center; }
        .header-tester h2 { margin: 0 0 10px 0; font-size: 1.5rem; font-weight: 800; color: var(--text-main); }
        .header-tester p { margin: 0 0 25px 0; font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }
        
        .tab-nav { display: flex; justify-content: center; gap: 10px; margin-bottom: -1px; flex-wrap: wrap; }
        .tab-btn { background: transparent; border: 1px solid transparent; border-bottom: none; padding: 12px 20px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); cursor: pointer; border-radius: 8px 8px 0 0; transition: all 0.2s; position: relative; bottom: -1px; }
        .tab-btn:hover { color: var(--primary); background: var(--primary-light); }
        .tab-btn.active { background: #fff; border-color: var(--border); color: var(--primary); font-weight: 700; box-shadow: 0 -4px 6px -4px rgba(0,0,0,0.05); }

        .form-section { padding: 30px; display: none; animation: fadeIn 0.3s ease-out forwards; }
        .form-section.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

        /* Dashboard Styles */
        .dash-container { background: var(--bg-main); border: 1px solid var(--border); border-radius: 10px; padding: 15px; margin-bottom: 25px; }
        .dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
        .dash-header h4 { margin: 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
        
        .dash-actions { display: flex; align-items: center; gap: 12px; }
        .live-indicator { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; color: var(--success); }
        .pulse-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
        @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
        
        /* Refresh Button Styles */
        .refresh-btn { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; font-size: 0.7rem; font-weight: 600; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; gap: 4px; transition: all 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
        .refresh-btn:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
        .refresh-icon { width: 12px; height: 12px; }
        .is-refreshing .refresh-icon { animation: spin 1s linear infinite; }
        .sync-note { font-size: 0.7rem; color: var(--text-muted); text-align: right; margin-top: 10px; font-style: italic; }

        .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
        .stat-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px; text-align: center; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
        .stat-val { font-size: 1.4rem; font-weight: 800; color: var(--text-main); margin-bottom: 4px; line-height: 1; }
        .stat-val.primary { color: var(--primary); }
        .stat-val.danger { color: var(--danger); }
        .stat-val.warning { color: var(--warning); }
        .stat-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }

        /* Compact Feedback Table */
        .dash-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
        .dash-table th { background: var(--secondary); padding: 8px 10px; font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border); text-align: left; }
        .dash-table td { padding: 8px 10px; font-size: 0.8rem; border-bottom: 1px solid var(--border); color: var(--text-main); font-weight: 500; vertical-align: middle; }
        .dash-table tr:last-child td { border-bottom: none; }
        .progress-bar-bg { width: 100%; background: var(--border); border-radius: 4px; height: 5px; margin-top: 4px; overflow: hidden; }
        .progress-bar-fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.5s ease; }

        /* Form Components */
        .form-group { margin-bottom: 20px; position: relative; }
        .form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
        .form-control { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; font-family: inherit; color: var(--text-main); background: #fff; box-sizing: border-box; transition: all 0.2s; }
        .form-control:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus-ring); }
        .form-control.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }
        .error-text { color: var(--danger); font-size: 0.75rem; font-weight: 600; margin-top: 6px; display: none; }
        textarea.form-control { resize: vertical; min-height: 100px; }
        select.form-control { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
        .helper-text { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; display: block; }
        
        .checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 25px; }
        .checkbox-group input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); cursor: pointer; }
        .checkbox-group label { font-size: 0.85rem; color: var(--text-main); font-weight: 400; line-height: 1.5; margin: 0; cursor: pointer; }

        .btn-submit { width: 100%; padding: 14px; border: none; border-radius: 8px; font-size: 1rem; font-weight: 700; color: #fff; background: var(--primary); cursor: pointer; transition: background 0.2s; display: flex; justify-content: center; align-items: center; gap: 8px; }
        .btn-submit:hover { background: var(--primary-hover); }
        .btn-submit.btn-danger { background: var(--danger); }
        .btn-submit.btn-danger:hover { background: var(--danger-hover); }

        .success-state { text-align: center; padding: 40px 20px; display: none; flex-direction: column; align-items: center; justify-content: center; animation: fadeIn 0.4s ease-out; }
        .success-icon { width: 64px; height: 64px; background: #dcfce7; color: var(--success); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
        .success-icon svg { width: 32px; height: 32px; }
        .success-state h3 { margin: 0 0 10px 0; font-size: 1.3rem; color: var(--text-main); }
        .success-state p { margin: 0 0 25px 0; color: var(--text-muted); line-height: 1.5; }
        .btn-outline { background: transparent; border: 1px solid var(--border); padding: 10px 20px; border-radius: 8px; font-weight: 600; color: var(--text-main); cursor: pointer; transition: 0.2s; }
        .btn-outline:hover { background: var(--bg-main); }

        .spinner { border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top: 3px solid #fff; width: 18px; height: 18px; animation: spin 1s linear infinite; display: none; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        .is-loading .btn-text { display: none; }
        .is-loading .spinner { display: block; }
        
        @media (max-width: 480px) {
            .header-tester { padding: 20px 20px 0 20px; }
            .tab-btn { padding: 10px 12px; font-size: 0.85rem; }
            .form-section { padding: 20px; }
            .stat-grid { grid-template-columns: 1fr 1fr; }
        }
    

/* Clean Dropdown CSS */
.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    z-index: 1001;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    top: 100%;
    margin-top: 4px;
    padding: 8px 0;
    right: 0;
}
.dropdown-group {
    padding: 10px 16px 4px 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 6px 0;
}
.dropdown-content a {
    color: var(--text-primary) !important;
    padding: 8px 16px 8px 24px !important;
    text-decoration: none;
    display: block;
    font-size: 14px !important;
    font-weight: 400 !important;
    white-space: nowrap;
}
.dropdown-content a:hover {
    background-color: var(--bg-gray) !important;
    color: var(--google-blue) !important;
}
.dropdown:hover .dropdown-content {
    display: block;
}
        :root {
            --primary: #2563eb;
            --primary-hover: #1d4ed8;
            --primary-light: #eff6ff;
            --secondary: #f8fafc;
            --success: #16a34a;
            --danger: #dc2626;  
            --danger-hover: #b91c1c;
            --warning: #d97706;
            --warning-bg: #fffbeb;
            --warning-border: #fcd34d;
            --warning-text: #92400e;
            --bg-main: #f1f5f9;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --card-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
            --focus-ring: 0 0 0 3px rgba(37,99,235,0.2);
        }

        
        
        .tester-container { width: 100%; max-width: 650px; margin: 40px auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--card-shadow); overflow: hidden; }
        
        .header { background: var(--secondary); padding: 30px 30px 0 30px; border-bottom: 1px solid var(--border); text-align: center; }
        .header h2 { margin: 0 0 10px 0; font-size: 1.5rem; font-weight: 800; color: var(--text-main); }
        .header p { margin: 0 0 25px 0; font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }
        
        .tab-nav { display: flex; justify-content: center; gap: 10px; margin-bottom: -1px; flex-wrap: wrap; }
        .tab-btn { background: transparent; border: 1px solid transparent; border-bottom: none; padding: 12px 20px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); cursor: pointer; border-radius: 8px 8px 0 0; transition: all 0.2s; position: relative; bottom: -1px; }
        .tab-btn:hover { color: var(--primary); background: var(--primary-light); }
        .tab-btn.active { background: #fff; border-color: var(--border); color: var(--primary); font-weight: 700; box-shadow: 0 -4px 6px -4px rgba(0,0,0,0.05); }

        .form-section { padding: 30px; display: none; animation: fadeIn 0.3s ease-out forwards; }
        .form-section.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

        /* Dashboard Styles */
        .dash-container { background: var(--bg-main); border: 1px solid var(--border); border-radius: 10px; padding: 15px; margin-bottom: 25px; }
        .dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
        .dash-header h4 { margin: 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
        
        .dash-actions { display: flex; align-items: center; gap: 12px; }
        .live-indicator { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; color: var(--success); }
        .pulse-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
        @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
        
        /* Refresh Button Styles */
        .refresh-btn { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; font-size: 0.7rem; font-weight: 600; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; gap: 4px; transition: all 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
        .refresh-btn:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
        .refresh-icon { width: 12px; height: 12px; }
        .is-refreshing .refresh-icon { animation: spin 1s linear infinite; }
        .sync-note { font-size: 0.7rem; color: var(--text-muted); text-align: right; margin-top: 10px; font-style: italic; }

        .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
        .stat-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px; text-align: center; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
        .stat-val { font-size: 1.4rem; font-weight: 800; color: var(--text-main); margin-bottom: 4px; line-height: 1; }
        .stat-val.primary { color: var(--primary); }
        .stat-val.danger { color: var(--danger); }
        .stat-val.warning { color: var(--warning); }
        .stat-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }

        /* Compact Feedback Table */
        .dash-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
        .dash-table th { background: var(--secondary); padding: 8px 10px; font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border); text-align: left; }
        .dash-table td { padding: 8px 10px; font-size: 0.8rem; border-bottom: 1px solid var(--border); color: var(--text-main); font-weight: 500; vertical-align: middle; }
        .dash-table tr:last-child td { border-bottom: none; }
        .progress-bar-bg { width: 100%; background: var(--border); border-radius: 4px; height: 5px; margin-top: 4px; overflow: hidden; }
        .progress-bar-fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.5s ease; }

        /* Form Components */
        .form-group { margin-bottom: 20px; position: relative; }
        .form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
        .form-control { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; font-family: inherit; color: var(--text-main); background: #fff; box-sizing: border-box; transition: all 0.2s; }
        .form-control:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus-ring); }
        .form-control.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }
        .error-text { color: var(--danger); font-size: 0.75rem; font-weight: 600; margin-top: 6px; display: none; }
        textarea.form-control { resize: vertical; min-height: 100px; }
        select.form-control { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
        .helper-text { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; display: block; }
        
        .checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 25px; }
        .checkbox-group input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); cursor: pointer; }
        .checkbox-group label { font-size: 0.85rem; color: var(--text-main); font-weight: 400; line-height: 1.5; margin: 0; cursor: pointer; }

        .btn-submit { width: 100%; padding: 14px; border: none; border-radius: 8px; font-size: 1rem; font-weight: 700; color: #fff; background: var(--primary); cursor: pointer; transition: background 0.2s; display: flex; justify-content: center; align-items: center; gap: 8px; }
        .btn-submit:hover { background: var(--primary-hover); }
        .btn-submit.btn-danger { background: var(--danger); }
        .btn-submit.btn-danger:hover { background: var(--danger-hover); }

        .success-state { text-align: center; padding: 40px 20px; display: none; flex-direction: column; align-items: center; justify-content: center; animation: fadeIn 0.4s ease-out; }
        .success-icon { width: 64px; height: 64px; background: #dcfce7; color: var(--success); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
        .success-icon svg { width: 32px; height: 32px; }
        .success-state h3 { margin: 0 0 10px 0; font-size: 1.3rem; color: var(--text-main); }
        .success-state p { margin: 0 0 25px 0; color: var(--text-muted); line-height: 1.5; }
        .btn-outline { background: transparent; border: 1px solid var(--border); padding: 10px 20px; border-radius: 8px; font-weight: 600; color: var(--text-main); cursor: pointer; transition: 0.2s; }
        .btn-outline:hover { background: var(--bg-main); }

        .spinner { border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top: 3px solid #fff; width: 18px; height: 18px; animation: spin 1s linear infinite; display: none; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        .is-loading .btn-text { display: none; }
        .is-loading .spinner { display: block; }
        
        @media (max-width: 480px) {
            .header { padding: 20px 20px 0 20px; }
            .tab-btn { padding: 10px 12px; font-size: 0.85rem; }
            .form-section { padding: 20px; }
            .stat-grid { grid-template-columns: 1fr 1fr; }
        }
    
