:root {
    /* Dark Teal/Navy Palette */
    --primary-color: #10b981;
    /* Emerald 500 */
    --primary-dark: #059669;
    /* Emerald 600 */
    --primary-glow: rgba(16, 185, 129, 0.6);
    --mint-green: #5eead4;
    /* Teal/Mint for headings */
    --secondary-color: #f0fdf4;
    /* Mint Cream */
    --background-color: #0a1628;
    /* Deep Navy/Teal */
    --card-bg: rgba(15, 35, 50, 0.6);
    /* Dark teal transparent */
    --text-color: #e2e8f0;
    /* Slate 200 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --accent-color: #34d399;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.05rem;
    overflow-x: hidden;
    /* Deep Navy/Teal Background */
    background-image:
        radial-gradient(circle at 20% 50%, rgba(6, 78, 59, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(5, 150, 105, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #0a1628 0%, #0f1c2e 50%, #0a1628 100%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 0 20px -5px var(--primary-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #059669, #047857);
    z-index: -1;
    transition: opacity var(--transition-speed);
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px -5px var(--primary-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-outline-primary {
    background: transparent;
    color: var(--mint-green);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(94, 234, 212, 0.5);
    backdrop-filter: blur(5px);
}

.btn-outline-primary:hover {
    background: rgba(94, 234, 212, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(94, 234, 212, 0.3);
    color: #fff;
    border-color: var(--mint-green);
}

/* Google Button Container */
.g_id_signin {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Legacy Google Button (if needed) */
.google-btn {
    background: white;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.9rem;
    border-radius: 12px;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.google-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-icon {
    width: 20px;
    height: 20px;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 10px;
    font-weight: 500;
}

/* Header */
header {
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

header:hover {
    background: rgba(10, 22, 40, 0.9);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
}

.logo i {
    background: linear-gradient(135deg, #34d399, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.2));
}

.admin-btn {
    background: transparent;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    color: var(--text-muted);
    font-weight: 600;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    transition: all var(--transition-speed);
    font-size: 0.9rem;
}

.admin-btn:hover {
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 50px;
    position: relative;
}


.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--mint-green);
    text-shadow: 0 0 40px rgba(94, 234, 212, 0.3);
}

.hero-subtext {
    font-size: 1.1rem;
    font-weight: 400;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.7;
    opacity: 0.95;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Creative Feature Grid */
.feature-list {
    margin-top: 1.5rem;
    /* Tightened to keep on screen */
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-item {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    padding: 1.8rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    align-items: flex-start;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity var(--transition-speed);
    box-shadow: 0 0 15px var(--primary-color);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.9);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.6);
}

/* Staggered Animation for Cards */
.feature-item:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-item:nth-child(2) {
    transition-delay: 0.2s;
}

.feature-item:nth-child(3) {
    transition-delay: 0.3s;
}

.feature-item:nth-child(4) {
    transition-delay: 0.4s;
}

.feature-item:hover::after {
    opacity: 1;
    height: 100%;
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #34d399;
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.feature-item strong {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

/* Hero Image & Floating Elements */
.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2rem;
}

.hero-image img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 50px rgba(16, 185, 129, 0.4));
    z-index: 2;
}

/* Background Blob Effect */
.blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0.1) 50%, transparent 80%);
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    opacity: 0.7;
    animation: blobPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes blobPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.9;
    }
}

/* Floating Leaves Animation */
/* Floating Leaves Animation with randomness */
.floating-leaf {
    position: absolute;
    color: var(--primary-color);
    z-index: 1;
    opacity: 0.6;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    animation: floatLeaf 8s ease-in-out infinite;
}

/* Specific positioning overrides for better randomness */
.floating-leaf:nth-of-type(1) {
    top: -10%;
    left: -10%;
    font-size: 2.5rem;
    animation-duration: 7s;
}

.floating-leaf:nth-of-type(2) {
    top: 20%;
    right: -5%;
    font-size: 3rem;
    animation-duration: 9s;
    animation-delay: 1s;
}

.floating-leaf:nth-of-type(3) {
    bottom: -15%;
    left: 10%;
    font-size: 2rem;
    animation-duration: 11s;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

@keyframes floatLeaf {
    0% {
        transform: translateY(100%) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0;
    }
}

/* ==============================
   AUTHENTICATION PAGES STYLES
============================== */

/* Split Screen Layout */
.auth-split-screen {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 100vh;
    overflow: hidden;
}

/* Left Side - Branding & Visual */
.auth-left {
    background: linear-gradient(135deg,
            rgba(6, 78, 59, 0.95) 0%,
            rgba(5, 150, 105, 0.9) 50%,
            rgba(16, 185, 129, 0.85) 100%);
    position: relative;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-branding {
    position: relative;
    z-index: 10;
    max-width: 500px;
}

.auth-logo {
    font-size: 2.5rem !important;
    color: white !important;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.auth-logo i {
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-tagline {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.gradient-text {
    background: linear-gradient(135deg, #a7f3d0, #d1fae5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.auth-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1.05rem;
}

.auth-feature-item i {
    font-size: 1.5rem;
    color: #d1fae5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Decorative Blobs */
.auth-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    animation: blobFloat 10s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.2);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: rgba(209, 250, 229, 0.25);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.auth-floating-icon {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    animation: floatIcon 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Right Side - Form */
.auth-right {
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
}

.auth-form-container {
    width: 100%;
    max-width: 480px;
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



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

.input-with-icon i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    pointer-events: none;
    transition: color 0.3s;
}

.input-with-icon input {
    width: 100%;
    padding: 1rem 3rem 1rem 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.input-with-icon input::placeholder {
    color: var(--text-muted);
}

.input-with-icon input:focus {
    outline: none;
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.input-with-icon .toggle-password {
    left: auto;
    right: 1rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
}

.input-with-icon .toggle-password:hover {
    color: var(--primary-color);
}

.input-with-icon input:focus+i,
.input-with-icon input:focus~i {
    color: var(--primary-color);
}

/* Form Footer */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.forgot-password {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.forgot-password:hover {
    color: var(--mint-green);
    text-decoration: underline;
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.terms-checkbox a {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s;
}

.terms-checkbox a:hover {
    color: var(--mint-green);
}

/* Submit Button */
.auth-submit-btn {
    margin-top: 0.5rem;
    width: 100%;
    font-size: 1.1rem;
    padding: 1.1rem;
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-switch p {
    color: var(--text-muted);
    font-size: 1rem;
}

.auth-switch a {
    color: var(--primary-color);
    font-weight: 700;
    transition: all 0.3s;
}

.auth-switch a:hover {
    color: var(--mint-green);
    text-decoration: underline;
}

/* Back to Home Link */
.back-home-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.back-home-link:hover {
    color: var(--primary-color);
    gap: 0.75rem;
}

/* ==============================
   ADMIN PORTAL STYLES
============================== */

/* Admin Left Panel */
.admin-left {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 41, 59, 0.9) 50%,
            rgba(51, 65, 85, 0.85) 100%);
}

.admin-left .auth-blob.blob-1 {
    background: rgba(16, 185, 129, 0.15);
}

.admin-left .auth-blob.blob-2 {
    background: rgba(94, 234, 212, 0.2);
}

/* Admin Badge Header */
.admin-badge-header {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(94, 234, 212, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(16, 185, 129, 0.3);
    animation: adminPulse 3s ease-in-out infinite;
}

.admin-badge-header i {
    font-size: 2.5rem;
    color: var(--mint-green);
    filter: drop-shadow(0 0 15px rgba(94, 234, 212, 0.4));
}

@keyframes adminPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 35px rgba(16, 185, 129, 0.5);
        transform: scale(1.02);
    }
}

/* Security Badge */
.security-badge {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.security-badge i {
    font-size: 2rem;
    color: #34d399;
    flex-shrink: 0;
}

.security-badge div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.security-badge strong {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.security-badge span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Admin Warning Notice */
.admin-warning {
    margin-top: 2rem;
    padding: 1.25rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.admin-warning i {
    font-size: 1.5rem;
    color: #fbbf24;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.admin-warning p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Enhanced Input Focus for Admin */
.auth-form .input-with-icon input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15),
        0 0 20px rgba(16, 185, 129, 0.2);
}

/* Responsive Design for Auth Pages */
@media (max-width: 1024px) {
    .auth-split-screen {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 2rem;
    }

    .auth-form-container {
        max-width: 100%;
    }

    .admin-warning {
        padding: 1rem;
    }

    .security-badge {
        padding: 1.25rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        text-align: center;
        gap: 3rem;
    }

    .hero-image {
        justify-content: center;
        /* Center on mobile */
        margin: 0 auto;
        max-width: 100%;
    }

    .feature-item:hover::after {
        opacity: 1;
    }

    .feature-icon-wrapper {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        background: #d1fae5;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #059669;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .feature-item strong {
        font-family: var(--font-heading);
        font-size: 1.1rem;
    }

    .feature-item span {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* =========================================
   Fix for Select Dropdowns in Dark Mode
   ========================================= */
select {
    background-color: rgba(15, 23, 42, 0.6) !important;
    /* Dark background */
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
}

/* Ensure dropdown options have dark background */
select option {
    background-color: #1e293b !important;
    /* Dark Slate */
    color: white !important;
    padding: 10px;
}

/* =========================================
   Custom Google Sign-In & Modal Styles
   (For "Perfect" Localhost Mock Experience)
   ========================================= */

.custom-google-btn {
    background: white;
    color: #1f2937;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    height: 40px;
    border-radius: 20px;
    border: 1px solid #dadce0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.custom-google-btn:hover {
    background-color: #f8faff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    border-color: #d2e3fc;
}

.custom-google-btn:active {
    background-color: #e8f0fe;
}

.custom-google-btn img {
    height: 18px;
    width: 18px;
}

/* Modal Overlay */
.google-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.google-modal.show {
    opacity: 1;
}

/* Modal Content */
.google-modal-content {
    background-color: white;
    width: 400px;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: simpleFadeIn 0.3s;
    color: #333;
    font-family: 'Roboto', sans-serif;
}

@keyframes simpleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.google-modal-header {
    padding: 24px 24px 10px;
    text-align: center;
}

.google-logo-small {
    height: 24px;
    margin-bottom: 10px;
}

.google-modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    color: #202124;
}

.google-modal-header p {
    margin-top: 8px;
    font-size: 14px;
    color: #5f6368;
}

.google-account-list {
    padding: 10px 0;
    list-style: none;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}

.google-account-item {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f4;
    transition: background 0.2s;
}

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

.google-account-item:hover {
    background-color: #f8f9fa;
}

.google-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.google-info {
    display: flex;
    flex-direction: column;
}

.google-name {
    font-size: 14px;
    font-weight: 500;
    color: #3c4043;
}

.google-email {
    font-size: 12px;
    color: #5f6368;
}

.google-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #dadce0;
    display: flex;
    justify-content: flex-end;
}

.google-close-btn {
    background: transparent;
    border: 1px solid #dadce0;
    color: #1a73e8;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.google-close-btn:hover {
    background: #f1f3f4;
}

/* --- Global Premium UI (Toasts & Modals) --- */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 24px;
    min-width: 320px;
    max-width: 450px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: white;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    animation: toastSlideIn 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 0.4s ease;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.toast-success {
    border-left: 5px solid #10b981;
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.2);
}

.toast-error {
    border-left: 5px solid #ef4444;
    box-shadow: 0 10px 30px -10px rgba(239, 68, 68, 0.2);
}

.toast-warning {
    border-left: 5px solid #f59e0b;
    box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.2);
}

.toast-info {
    border-left: 5px solid #3b82f6;
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.2);
}

.toast.hiding {
    opacity: 0;
    transform: translateX(50px) scale(0.9);
}

.toast-icon {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-warning .toast-icon {
    color: #f59e0b;
}

.toast-info .toast-icon {
    color: #3b82f6;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 800;
    margin-bottom: 4px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.toast-message {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.toast-close {
    cursor: pointer;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s;
    margin-top: 2px;
}

.toast-close:hover {
    color: white;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* --- Custom Confirm Modal (Premium) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.confirm-modal-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.confirm-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.confirm-modal-card h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.confirm-modal-card p {
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.confirm-actions {
    display: flex;
    gap: 15px;
}

.confirm-btn {
    flex: 1;
    padding: 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-btn.cancel {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.confirm-btn.proceed {
    background: var(--primary-color);
    color: white;
    border: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        justify-content: center;
    }

    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .hero-image img {
        max-height: 350px;
    }

    .blob {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .logo {
        font-size: 1.8rem;
    }
}

/* Global Content Responsiveness */
.stats-grid,
.admin-grid,
.dash-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
}

@media (max-width: 768px) {

    .stats-grid,
    .admin-grid,
    .dash-overview-grid,
    .row-group,
    .pickup-form-row {
        grid-template-columns: 1fr !important;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem !important;
    }

    .profile-container {
        margin: 1rem !important;
        padding: 1.5rem !important;
    }

    .filters-container {
        flex-direction: column;
        align-items: stretch !important;
    }

    .history-table-container,
    .section-card,
    .chart-card {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .analysis-container {
        padding: 1rem !important;
    }

    .results-section {
        grid-template-columns: 1fr !important;
    }

    /* Hack for inline styles used in some pages */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: repeat(2, 1fr)"],
    div[style*="grid-template-columns:repeat(2,1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .inbox-container {
        flex-direction: column !important;
        height: auto !important;
    }

    .inbox-sidebar {
        width: 100% !important;
        height: 250px;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Modal and Popup Responsiveness */
.modal-content {
    width: 95% !important;
    margin: 10% auto !important;
    padding: 1.5rem !important;
}