/* Import Animations */
@import url('./animations.css');

/* User-facing theme: STRICT 2-COLOR SYSTEM - Blue + Green + White ONLY */

body.user-layout {
    --primary: #0B2578;
    --primary-hover: #1A9464;
    --primary-dark: #0B2578;
    --secondary: #1A9464;
    --secondary-hover: #0B2578;
    
    /* Neutral shadows only */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Text colors */
    --text-primary: #0B2578;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --text-white: #FFFFFF;
}

/* ========== HERO – Neutral, one key phrase, no glow ========== */

body.user-layout .hero-section {
    position: relative;
    background: #FAFBFC;
}

/* No background glow or grid */
body.user-layout .hero-section::before {
    display: none;
}

body.user-layout .hero-section::after {
    display: none;
}

/* Clean Hero Headline */
body.user-layout .hero-headline-modern {
    color: #0B2578;
    font-weight: 800;
    position: relative;
}

body.user-layout .hero-headline-accent {
    color: #1A9464;
    font-weight: 800;
}


/* Subtext: align with heading block (same vertical axis) */
body.user-layout .hero-content-left .hero-subtext-minimal {
    text-align: left;
    max-width: 520px;
    margin-left: 0;
    margin-right: auto;
}

/* Floating tag on hero image container */
body.user-layout .hero-visual-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary, #0F172A);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.user-layout .hero-visual-tag i {
    width: 14px;
    height: 14px;
    color: #CA8A04;
}

/* Badge: simple border, no glow */
body.user-layout .hero-badge-minimal {
    border-color: rgba(0, 123, 255, 0.4);
    background: rgba(0, 123, 255, 0.06);
    box-shadow: none;
}

body.user-layout .hero-badge-minimal:hover {
    border-color: rgba(80, 118, 238, 0.5);
    background: rgba(80, 118, 238, 0.08);
    box-shadow: none;
}

/* Primary CTA: solid color, soft shadow only */
body.user-layout .btn-hero-primary {
    background: #5076EE;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.user-layout .btn-hero-primary:hover {
    background: #3d5ec9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

body.user-layout .btn-hero-primary:active {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Ghost CTA: minimal hover */
body.user-layout .btn-hero-ghost:hover {
    border-color: rgba(80, 118, 238, 0.3);
    box-shadow: none;
}

/* Stat pills: no glow */
body.user-layout .hero-stats-inline .stat-pill {
    box-shadow: none;
}

body.user-layout .hero-stats-inline .stat-pill:hover {
    box-shadow: none;
}

/* Hero dashboard card: soft shadow only */
body.user-layout .hero-visual-container .dashboard-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

body.user-layout .hero-visual-container .dashboard-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Floating metrics: soft shadow only */
body.user-layout .hero-content-right .floating-metric {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body.user-layout .hero-content-right .floating-metric:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ========== Buttons – solid / outline, no glow ========== */

body.user-layout .btn-primary:focus-visible,
body.user-layout .btn:focus-visible {
    box-shadow: var(--ring);
}

/* ========== Cards – white, soft shadow, no gradients ========== */

body.user-layout .service-card-featured {
    border-color: rgba(0, 123, 255, 0.35);
    box-shadow: var(--shadow-md);
}

body.user-layout .plan-card.plan-featured {
    border-color: var(--primary-color, #0B2578);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: scale(1.05);
    z-index: 2;
    position: relative;
}

body.user-layout .plan-card.plan-featured:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    transform: scale(1.05);
}

body.user-layout .plan-card:hover {
    border-color: rgba(0, 123, 255, 0.25);
}

body.user-layout .details-section:hover {
    border-color: rgba(0, 0, 0, 0.08);
}

body.user-layout .payment-section:hover {
    border-color: rgba(0, 0, 0, 0.08);
}

body.user-layout .dashboard-greeting:hover {
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
}

/* ========== Alerts, auth, forms ========== */

body.user-layout .alert-info {
    background: rgba(0, 123, 255, 0.12);
    border-color: rgba(0, 123, 255, 0.35);
    color: var(--text-primary);
}

body.user-layout .auth-page::before {
    display: none;
}

body.user-layout .auth-message.info {
    background: rgba(0, 123, 255, 0.08);
    border-color: rgba(0, 123, 255, 0.25);
}

body.user-layout .verified-email-display {
    background: rgba(0, 123, 255, 0.06);
    border-color: rgba(0, 123, 255, 0.2);
}

body.user-layout .captcha-container input:focus {
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

/* ========== Sections – remove decorative glows ========== */

body.user-layout .about-section::before,
body.user-layout .about-section::after {
    display: none;
}

body.user-layout .about-hero-headline .gradient-text {
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
}

body.user-layout .about-visual-wrapper {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

body.user-layout .about-visual-wrapper::before {
    background: #007BFF;
    height: 3px;
}

body.user-layout .about-visual-wrapper:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

body.user-layout .services-section::before {
    display: none;
}

body.user-layout .dashboard-container {
    background: var(--bg-gray-50);
}

body.user-layout .dashboard-container::before {
    display: none;
}

/* ========== Signals, payment, nav ========== */

body.user-layout .signals-hero {
    background: #FFFFFF;
    color: #111827;
    box-shadow: none;
}

body.user-layout .filter-chip.active {
    background: #007BFF;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.user-layout .payment-method.active {
    background: rgba(0, 123, 255, 0.06);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

body.user-layout .contact-details-section:hover {
    border-color: rgba(0, 0, 0, 0.06);
}

/* ========== Date Filter Styles ========== */

body.user-layout .date-filter-section {
    margin-bottom: 2rem;
}

body.user-layout .date-filter-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

body.user-layout .date-filter-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 200, 83, 0.05) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.user-layout .date-filter-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary, #0F172A);
    display: flex;
    line-height: 1.4;
    align-items: center;
    gap: 0.5rem;
}

body.user-layout .date-filter-header .filter-icon {
    color: #007BFF;
}

body.user-layout .date-filter-content {
    padding: 1.5rem;
}

body.user-layout .quick-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

body.user-layout .quick-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--text-secondary, #475569);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
}

body.user-layout .quick-filter-btn:hover {
    border-color: rgba(0, 123, 255, 0.3);
    background: rgba(0, 123, 255, 0.04);
    color: #007BFF;
}

body.user-layout .quick-filter-btn.active {
    border-color: #007BFF;
    background: #007BFF;
    color: #FFFFFF;
}

body.user-layout .quick-filter-btn .btn-icon {
    width: 16px;
    height: 16px;
}

body.user-layout .custom-date-range {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.5rem;
}

body.user-layout .date-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

body.user-layout .date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    body.user-layout .date-inputs {
        grid-template-columns: 1fr;
    }
    
    /* Responsive Animated Heading */
    body.user-layout .hero-headline-modern {
        animation-duration: 3s, 2.5s;
        background-size: 150% 150%;
    }
    
    body.user-layout .hero-headline-accent {
        animation-duration: 2.5s, 2s;
        background-size: 150% 150%;
    }
    
    @keyframes waveText {
        0%, 100% {
            transform: translateY(0px);
        }
        25% {
            transform: translateY(-1px);
        }
        75% {
            transform: translateY(1px);
        }
    }
}

body.user-layout .date-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

body.user-layout .date-input-group label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary, #0F172A);
    line-height: 1.4;
}

body.user-layout .date-input {
    padding: 0.625rem 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 1rem;
    color: var(--text-primary, #0F172A);
    background: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.4;
}

body.user-layout .date-input:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

body.user-layout .date-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

body.user-layout .date-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
    text-decoration: none;
    border: none;
}

body.user-layout .date-actions .btn-primary {
    background: #007BFF;
    color: #FFFFFF;
}

body.user-layout .date-actions .btn-primary:hover {
    background: #0056B3;
}


body.user-layout .date-actions .btn .btn-icon {
    width: 16px;
    height: 16px;
}
