/* ============================================
   PREMIUM RESUME SCANNER - COMPLETE STYLE SHEET
   ============================================ */

/* COMMAND: Coordinate gift section with main theme and adjust main theme to match gift section beauty */
:root {
    /* Dark theme (default) - Coordinated with amber/gold/purple gift section */
    --bg-primary: #0a0f1e;
    --bg-secondary: #0F172A;
    --bg-card: rgba(30, 41, 59, 0.6);
    --bg-hover: rgba(251, 191, 36, 0.08);
    --bg-border: rgba(251, 191, 36, 0.1);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #0f172a;
    
    /* Coordinated with gift section - amber/gold/purple accents */
    --accent-primary: #3B82F6;
    --accent-secondary: #8B5CF6;
    --accent-amber: #fbbf24;
    --accent-gold: #f59e0b;
    --accent-success: #10B981;
    --accent-warning: #F59E0B;
    --accent-danger: #EF4444;
    
    --glass-bg: rgba(15, 23, 42, 0.75);
    --glass-border: rgba(251, 191, 36, 0.08);
}

/* Light theme variables - coordinated with gift section */
html.light-theme {
    --bg-primary: #faf8f5;
    --bg-secondary: #f5f0e8;
    --bg-card: rgba(255, 253, 250, 0.9);
    --bg-hover: rgba(251, 191, 36, 0.1);
    --bg-border: rgba(251, 191, 36, 0.15);
    
    --text-primary: #1a1625;
    --text-secondary: #4a4458;
    --text-muted: #6b6577;
    --text-inverse: #ffffff;
    
    --glass-bg: rgba(255, 253, 250, 0.9);
    --glass-border: rgba(251, 191, 36, 0.15);
}

/* ============================================
   THEME UTILITY CLASSES
   ============================================ */

.theme-text-primary {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.theme-text-secondary {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.theme-text-muted {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.theme-bg-primary {
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.theme-bg-secondary {
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.theme-bg-card {
    background-color: var(--bg-card);
    transition: background-color 0.3s ease;
}

.theme-border {
    border-color: var(--bg-border);
    transition: border-color 0.3s ease;
}

.hover-theme-text:hover {
    color: var(--text-primary);
    filter: brightness(0.8);
    transition: all 0.2s ease;
}

.hover-theme-secondary:hover {
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.hover-theme-bg:hover {
    background-color: var(--bg-hover);
    transition: background-color 0.2s ease;
}

/* ============================================
   COMPONENT-SPECIFIC THEME FIXES
   ============================================ */

html.light-theme .bento-card {
    background: rgba(255, 253, 250, 0.95);
    border-color: rgba(251, 191, 36, 0.15);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.08);
}

html.light-theme .upload-zone {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(251, 191, 36, 0.25);
}

html.light-theme .upload-zone:hover {
    border-color: rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

html.light-theme .template-card {
    background: rgba(255, 253, 250, 0.95);
    border-color: rgba(251, 191, 36, 0.15);
}

html.light-theme #mobile-menu > div {
    background: #faf8f5;
    border-color: rgba(251, 191, 36, 0.15);
}

html.light-theme #mobile-menu a,
html.light-theme #mobile-menu button {
    color: #4a4458;
    border-color: rgba(251, 191, 36, 0.1);
}

html.light-theme #mobile-menu a:hover,
html.light-theme #mobile-menu button:hover {
    background: rgba(251, 191, 36, 0.1);
    color: #d97706;
}

html.light-theme input,
html.light-theme textarea,
html.light-theme select {
    background: #f5f0e8;
    border-color: rgba(251, 191, 36, 0.2);
    color: #1a1625;
}

html.light-theme input:focus,
html.light-theme textarea:focus {
    background: #ffffff;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

html.light-theme ::-webkit-scrollbar-track {
    background: #f5f0e8;
}

html.light-theme ::-webkit-scrollbar-thumb {
    background: #d4c4a8;
}

html.light-theme ::-webkit-scrollbar-thumb:hover {
    background: #a89f91;
}

/* Base Mobile Optimizations */
* {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

.touch-manipulation {
    touch-action: manipulation;
    -webkit-touch-callout: none;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

@supports not (backdrop-filter: blur(20px)) {
    .glass {
        background: rgba(15, 23, 42, 0.95);
    }
}

.glass-light {
    background: rgba(255, 253, 250, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

@supports not (backdrop-filter: blur(20px)) {
    .glass-light {
        background: rgba(255, 253, 250, 1);
    }
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f472b6 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Upload Zone */
.upload-zone {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px dashed rgba(59, 130, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    -webkit-touch-callout: none;
    touch-action: manipulation;
}

.upload-zone:active {
    transform: scale(0.98);
}

.upload-zone:hover {
    border-color: rgba(251, 191, 36, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.15);
}

.upload-zone.drag-active {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    transform: scale(1.02);
}

@media (hover: none) {
    .upload-zone:hover {
        transform: none;
        box-shadow: none;
        border-color: rgba(59, 130, 246, 0.3);
    }
}

/* Bento Card */
.bento-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(251, 191, 36, 0.08);
    transition: all 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.25);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.1);
}

@media (hover: none) {
    .bento-card:hover {
        transform: none;
        border-color: rgba(251, 191, 36, 0.08);
    }
}

/* COMMAND: Add score celebration glow animation */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.4), 0 0 40px rgba(16, 185, 129, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.6), 0 0 60px rgba(16, 185, 129, 0.3);
    }
}

.glow-pulse {
    animation: glow-pulse 2s ease-in-out infinite;
}

/* COMMAND: Add Premium word elegant animation */
@keyframes premium-letter-spacing {
    0%, 100% {
        letter-spacing: 0px;
    }
    50% {
        letter-spacing: 2px;
    }
}

@keyframes premium-shimmer-sweep {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.premium-text-animation {
    position: relative;
    display: inline-block;
    animation: premium-letter-spacing 3s ease-in-out infinite;
    background: linear-gradient(90deg, 
        #fbbf24 0%, 
        #f59e0b 25%, 
        #fcd34d 50%, 
        #f59e0b 75%, 
        #fbbf24 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: premium-letter-spacing 3s ease-in-out infinite, premium-shimmer-sweep 3s linear infinite;
}

/* COMMAND: Add floating card effects for feature cards */
@keyframes float-card {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-card {
    animation: float-card 8s ease-in-out infinite;
}

.float-card:hover {
    animation-play-state: paused;
}

/* COMMAND: Enhanced gradient headline animation */
.animate-gradient-x {
    background-size: 300% 300%;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glow-text {
    position: relative;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3), 0 0 20px rgba(244, 114, 182, 0.2), 0 0 30px rgba(34, 211, 238, 0.15);
    animation: glow-pulse-text 3s ease-in-out infinite alternate;
}

@keyframes glow-pulse-text {
    0% { 
        text-shadow: 0 0 10px rgba(251, 191, 36, 0.3), 0 0 20px rgba(244, 114, 182, 0.2), 0 0 30px rgba(34, 211, 238, 0.15);
        filter: brightness(1);
    }
    100% { 
        text-shadow: 0 0 15px rgba(251, 191, 36, 0.5), 0 0 30px rgba(244, 114, 182, 0.3), 0 0 45px rgba(34, 211, 238, 0.2);
        filter: brightness(1.1);
    }
}

/* Score Circle Animation */
#score-circle {
    transition: stroke-dashoffset 1s ease-out;
}

/* Template Preview Lines */
.template-preview-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.template-preview-line.active {
    background: #f59e0b;
}

/* Template Card Mobile Interactions */
.template-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-touch-callout: none;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
}

.template-card {
    opacity: 1;
}

@media (min-width: 640px) {
    .template-card {
        opacity: 0.6;
    }
    .template-card.border-blue-500,
    .template-card:hover {
        opacity: 1;
    }
}

.template-card.touch-active {
    transform: scale(0.98);
    background: rgba(251, 191, 36, 0.1);
}

@media (max-width: 639px) {
    .template-card button {
        opacity: 1 !important;
    }
}

/* History & Comparison Styles */
.history-item-enter {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 768px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    #comparison-content .grid > div:first-child {
        font-weight: 600;
        color: #94a3b8;
        margin-bottom: 0.5rem;
    }
}

.comparison-highlight {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    border-left: 2px solid #3B82F6;
    padding-left: 1rem;
    margin-left: -1rem;
}

#history-list > div > div {
    transition: all 0.2s ease;
}

#history-list > div > div:hover {
    transform: translateX(4px);
}

.history-item-selected {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

/* Grammar Check Styles */
.grammar-issue-card {
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.grammar-issue-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #3B82F6;
}

.severity-high {
    border-left-color: #EF4444;
    background: rgba(239, 68, 68, 0.05);
}

.severity-medium {
    border-left-color: #F59E0B;
    background: rgba(245, 158, 11, 0.05);
}

.severity-low {
    border-left-color: #3B82F6;
    background: rgba(59, 130, 246, 0.05);
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

#history-badge:not(.hidden) {
    animation: pulse-badge 2s infinite;
}

.weak-word-highlight {
    background: rgba(239, 68, 68, 0.2);
    border-radius: 2px;
    padding: 0 2px;
    text-decoration: wavy underline rgba(239, 68, 68, 0.5);
}

.suggestion-highlight {
    background: rgba(16, 185, 129, 0.2);
    border-radius: 2px;
    padding: 0 2px;
}

/* Mobile Menu Fixes */
#mobile-menu {
    transition: opacity 0.25s ease, transform 0.25s ease;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    will-change: opacity, transform;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    touch-action: none;
}

#mobile-menu-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.1);
}

#mobile-menu a,
#mobile-menu button {
    position: relative;
    overflow: hidden;
}

#mobile-menu a::after,
#mobile-menu button::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #f59e0b;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

#mobile-menu a:hover::after,
#mobile-menu button:hover::after {
    transform: scaleY(1);
}

/* Modal Improvements */
.history-backdrop,
.comparison-backdrop {
    transition: opacity 0.3s ease;
}

#history-modal > div:last-child,
#comparison-modal > div:last-child,
#auth-modal > div:last-child,
#pro-modal > div:last-child {
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#history-modal,
#comparison-modal,
#auth-modal,
#pro-modal {
    z-index: 100;
    isolation: isolate;
}

/* Confetti & Animations */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

@keyframes slideUp {
    0% { transform: translateY(20px) translateZ(0); opacity: 0; }
    100% { transform: translateY(0) translateZ(0); opacity: 1; }
}

@keyframes scaleIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.3s ease-out;
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@media (prefers-reduced-motion: reduce), (max-width: 768px) {
    .animate-float {
        animation: float-card 8s ease-in-out infinite;
    }
    
    .bento-card:hover,
    .template-card:hover {
        transform: none;
    }
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #f59e0b;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.progress-bar {
    background: #1E293B;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #8B5CF6);
    transition: width 0.5s ease;
    border-radius: 9999px;
}

/* Toast Notifications */
#toast-container {
    pointer-events: none;
}

.toast {
    animation: slideInFromRight 0.3s ease-out;
    will-change: transform, opacity;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    @keyframes slideInFromRight {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    #toast-container {
        left: 0;
        right: 0;
        top: auto;
        bottom: 20px;
        align-items: center;
        padding: 0 1rem;
    }
    
    .toast {
        width: 100%;
        max-width: 400px;
    }
}

.toast-progress {
    transition: width 4s linear;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

::selection {
    background: rgba(251, 191, 36, 0.3);
    color: white;
}

#mobile-menu > div {
    transition: transform 0.3s ease;
}

@media (max-width: 640px) {
    #step-indicator {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    #step-indicator > div {
        min-width: 300px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .result-tab {
        flex-shrink: 0;
    }
}

/* Form & Input Optimizations */
input,
textarea,
select {
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0.75rem;
}

button,
a,
input,
select,
textarea {
    min-height: 44px;
    min-width: 44px;
}

input[type="checkbox"],
input[type="radio"] {
    min-width: auto;
    min-height: auto;
    width: 1rem;
    height: 1rem;
}

textarea:focus,
input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

button:active,
a:active {
    transform: scale(0.98);
    transition: transform 0.1s;
}

/* Layout Utilities */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

.overflow-y-auto,
.overflow-x-auto {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
    section.relative.pt-32 {
        padding-top: 5rem;
    }
}

#comparison-content .grid {
    gap: 1rem;
}

@media (min-width: 768px) {
    #comparison-content .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.score-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
    will-change: transform;
}

@keyframes shimmer {
    0% { transform: translateX(0); }
    100% { transform: translateX(200%); }
}

#upload-progress {
    z-index: 10;
}

input[type="file"].hidden {
    position: absolute;
    visibility: hidden;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Print Styles */
@media print {
    nav, 
    #toast-container, 
    #confetti-canvas, 
    #mobile-menu,
    #history-modal,
    #comparison-modal,
    #auth-modal,
    #pro-modal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        position: static !important;
        overflow: auto !important;
    }
    
    .bento-card {
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        break-inside: avoid;
    }
}

/* Landscape Mode Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    #auth-modal > div:last-child,
    #pro-modal > div:last-child,
    #history-modal > div:last-child,
    #comparison-modal > div:last-child {
        top: 10px;
        transform: translateX(-50%);
        max-height: 95vh;
    }
}

#navbar {
    z-index: 50;
}

#mobile-menu {
    z-index: 49;
}

.touch-active {
    transform: scale(0.98) !important;
    background: rgba(251, 191, 36, 0.1) !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

button:disabled,
button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.result-tab {
    position: relative;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.result-tab:active {
    transform: scale(0.95);
}

[data-tab="ai-rewrite"] {
    position: relative;
}

[data-tab="ai-rewrite"]::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(59, 130, 246, 0.3));
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

[data-tab="ai-rewrite"]:hover::before,
[data-tab="ai-rewrite"]:active::before {
    opacity: 1;
}

footer a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 44px;
    min-height: 20px;
    padding: 1px 0;
    line-height: 1.2;
    margin: 0;
}

footer button {
    display: block;
    line-height: 1.2;
    font: inherit;
    text-align: left;
    padding: 1px 0;
    margin: 0;
    min-height: 20px;
}

footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer ul li {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

footer .grid > div {
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
}

footer h4 {
    margin-bottom: 2px;
    line-height: 1.2;
}

footer .border-t {
    margin-top: 0;
    padding-top: 4px;
}

footer .flex-col.items-center {
    gap: 0;
}

footer .flex-col.items-center p {
    margin: 0;
    line-height: 1.3;
}

footer .flex-col.items-center .flex {
    margin-top: 0;
    padding-top: 0;
}

#navbar .flex.items-center.gap-3 {
    height: 100%;
    display: flex;
    align-items: center;
}

#navbar img {
    object-fit: contain;
    max-height: 48px;
    width: auto;
}

/* Shimmer effect for logo text - existing kept */
.shimmer-text {
    position: relative;
    background-size: 200% auto;
    animation: shimmer-text 3s linear infinite;
}

@keyframes shimmer-text {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.shimmer-badge {
    position: relative;
    overflow: hidden;
}

.shimmer-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: badge-shimmer 2s infinite;
}

@keyframes badge-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.animate-gradient-x {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

.glow-text {
    position: relative;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5), 0 0 20px rgba(244, 114, 182, 0.3), 0 0 30px rgba(34, 211, 238, 0.2);
    animation: glow-pulse-text 2s ease-in-out infinite alternate;
}

/* Custom checkbox */
input[type="checkbox"] {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
    background: #334155;
    cursor: pointer;
    transition: all 0.2s;
}

input[type="checkbox"]:checked {
    background: #f59e0b;
    border-color: #f59e0b;
}

input[type="checkbox"]::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s;
}

input[type="checkbox"]:checked::after {
    opacity: 1;
}

input[type="checkbox"]:focus {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Pull-to-refresh prevention */
body {
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
}

.modal-open {
    overscroll-behavior-y: none;
}

.upload-zone {
    overscroll-behavior-y: contain;
    touch-action: pan-y pinch-zoom;
}

#history-list,
#comparison-content,
#grammar-detailed-results {
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

@supports (-webkit-touch-callout: none) {
    body {
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    
    body.modal-open {
        position: fixed;
    }
    
    #app,
    #features,
    #templates,
    #interview-prep {
        overflow-y: auto;
        height: 100vh;
        -webkit-overflow-scrolling: touch;
    }
}

/* Virtual keyboard states */
body.keyboard-open #navbar {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

body.keyboard-open #app,
body.keyboard-open #step-1,
body.keyboard-open #step-3 {
    padding-bottom: 300px;
}

body.keyboard-open footer {
    display: none;
}

/* Logout button styles */
#logout-nav-btn {
    transition: all 0.2s ease;
}

#logout-nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

#logout-nav-btn:active {
    transform: scale(0.98);
}

#mobile-logout-btn {
    transition: all 0.2s ease;
}

#mobile-logout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Pro badge styles */
#pro-badge {
    animation: pro-badge-glow 2s ease-in-out infinite alternate;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes pro-badge-glow {
    0% {
        box-shadow: 0 0 5px rgba(251, 191, 36, 0.5), 0 0 10px rgba(251, 191, 36, 0.3);
    }
    100% {
        box-shadow: 0 0 15px rgba(251, 191, 36, 0.8), 0 0 25px rgba(251, 191, 36, 0.5);
    }
}

#mobile-pro-badge {
    animation: pro-badge-pulse 2s ease-in-out infinite;
}

@keyframes pro-badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mobile user info section */
#mobile-user-info {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

#mobile-user-info .w-10 {
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

#mobile-user-initial {
    display: inline-block;
    animation: initial-pop 0.3s ease-out;
}

@keyframes initial-pop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Theme text white utility */
.theme-text-white {
    transition: color 0.3s ease;
    color: #ffffff;
}

html.light-theme .theme-text-white {
    color: #0f172a;
}

html.light-theme,
html {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Get Pro button - KEEP AS-IS, no modifications */
.get-pro-btn {
    position: relative;
    background: transparent !important;
    z-index: 1;
}

.get-pro-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 0.6rem;
    background: conic-gradient(
        from 0deg,
        #1E40AF,
        #7C3AED,
        #BE185D,
        #B45309,
        #1E40AF
    );
    animation: rotate-border 3s linear infinite;
    z-index: -2;
    filter: saturate(1.5) brightness(1.2);
}

.get-pro-btn::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 100%);
    z-index: -1;
}

.get-pro-btn:hover::after {
    background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%);
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#mobile-get-pro-btn {
    position: relative;
    background: transparent !important;
    z-index: 1;
    overflow: hidden;
}

#mobile-get-pro-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 0.85rem;
    background: conic-gradient(
        from 0deg,
        #1E40AF,
        #7C3AED,
        #BE185D,
        #B45309,
        #1E40AF
    );
    animation: rotate-border 3s linear infinite;
    z-index: -2;
    filter: saturate(1.5) brightness(1.2);
}

#mobile-get-pro-btn::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 100%);
    z-index: -1;
}

#mobile-get-pro-btn span {
    position: relative;
    z-index: 10;
}

/* Typing animation */
#line-1, #line-2, #line-3 {
    display: block;
    white-space: nowrap;
    min-height: 1.2em;
}

h1 {
    font-size: 3.75rem;
    line-height: 1.1;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.25rem;
        line-height: 1.15;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
}

/* COMMAND: Coordinate gift section with main theme - enhanced background */
#pro-giveaway {
    background: linear-gradient(180deg, 
        rgba(251, 191, 36, 0.08) 0%, 
        rgba(168, 85, 247, 0.06) 50%,
        rgba(15, 23, 42, 0.4) 100%
    );
    position: relative;
}

/* Gift section heading shimmer */
#pro-giveaway h2 span {
    background-size: 200% auto;
    animation: shimmer-gold 3s linear infinite;
}

@keyframes shimmer-gold {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Gift button hover glow */
#pro-giveaway a[href*="forms.google.com"] {
    position: relative;
    overflow: hidden;
}

#pro-giveaway a[href*="forms.google.com"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s;
}

#pro-giveaway a[href*="forms.google.com"]:hover::before {
    transform: rotate(45deg) translateX(100%);
}

/* Gift hamper animations */
@keyframes float-gift {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.animate-float-gift {
    animation: float-gift 4s ease-in-out infinite;
}

@keyframes lid-open-close {
    0%, 100% {
        transform: rotateX(0deg) translateY(0);
    }
    25% {
        transform: rotateX(-45deg) translateY(-10px);
    }
    50% {
        transform: rotateX(-45deg) translateY(-10px);
    }
    75% {
        transform: rotateX(0deg) translateY(0);
    }
}

.gift-lid {
    animation: lid-open-close 3s ease-in-out infinite;
    transform-origin: 30px 80px;
    transform-style: preserve-3d;
}

@keyframes bow-bounce {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    25% {
        transform: scale(1.1) translateY(-5px);
    }
    50% {
        transform: scale(1.1) translateY(-5px);
    }
    75% {
        transform: scale(1) translateY(0);
    }
}

.gift-bow {
    animation: bow-bounce 3s ease-in-out infinite;
    transform-origin: 100px 65px;
}

@keyframes glow-pulse-bg {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1.5);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.8);
    }
}

.animate-glow-pulse {
    animation: glow-pulse-bg 3s ease-in-out infinite;
}

@keyframes sparkle-1 {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

@keyframes sparkle-2 {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    33% { opacity: 1; transform: scale(1.2) rotate(-180deg); }
    66% { opacity: 0; transform: scale(0) rotate(0deg); }
}

@keyframes sparkle-3 {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    25% { opacity: 0; }
    50% { opacity: 1; transform: scale(0.8) rotate(90deg); }
    75% { opacity: 0; }
}

.animate-sparkle-1 {
    animation: sparkle-1 2s ease-in-out infinite;
    transform-origin: center;
}

.animate-sparkle-2 {
    animation: sparkle-2 2.5s ease-in-out infinite;
    animation-delay: 0.5s;
    transform-origin: center;
}

.animate-sparkle-3 {
    animation: sparkle-3 3s ease-in-out infinite;
    animation-delay: 1s;
    transform-origin: center;
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}

.gift-container {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gift-container:hover {
    transform: scale(1.05);
}

.gift-container:hover .gift-lid {
    animation-duration: 1s;
}

.gift-container::before {
    content: '🎉';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.gift-container:hover::before {
    animation: confetti-burst 0.6s ease-out;
}

@keyframes confetti-burst {
    0% {
        transform: translateX(-50%) scale(0) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scale(1.5) translateY(-30px);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) scale(0) translateY(-50px);
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .gift-container svg {
        width: 12rem;
        height: 12rem;
    }
}

@media (max-width: 640px) {
    .gift-container svg {
        width: 10rem;
        height: 10rem;
    }
    
    @keyframes float-gift {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-15px); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-float-gift,
    .gift-lid,
    .gift-bow,
    .animate-glow-pulse,
    .animate-sparkle-1,
    .animate-sparkle-2,
    .animate-sparkle-3,
    .animate-bounce-slow {
        animation: none;
    }
    
    .gift-container {
        transform: none;
    }
}

/* History badge positioning */
#history-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    font-size: 0.65rem;
    min-width: 1.25rem;
    min-height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#history-badge-mobile {
    margin-left: auto;
    font-size: 0.65rem;
}

/* ============================================
   ROTATING BUTTON ANIMATIONS
   ============================================ */

/* Base Rotating Button Styles */
.rotating-btn {
  position: relative;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  background: transparent;
  color: white;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rotating-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  border-radius: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  animation: rotate-bg 3s linear infinite;
}

/* Check My Resume Button - Clockwise Rotation */
.check-resume-btn {
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.check-resume-btn::before {
  background: conic-gradient(
    from 0deg,
    #4f46e5 0deg,
    #7c3aed 90deg,
    #ec4899 180deg,
    #7c3aed 270deg,
    #4f46e5 360deg
  );
  animation: rotate-clockwise 3s linear infinite;
}

.check-resume-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.6);
}

.check-resume-btn:hover::before {
  animation-duration: 1.5s; /* Speed up on hover */
}

/* Inner content container */
.rotating-btn-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  padding: 16px 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Login Button - Counter-Clockwise Rotation */
.login-btn {
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.login-btn::before {
  background: conic-gradient(
    from 0deg,
    #10b981 0deg,
    #059669 90deg,
    #34d399 180deg,
    #059669 270deg,
    #10b981 360deg
  );
  animation: rotate-counter-clockwise 3s linear infinite;
}

.login-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.login-btn:hover::before {
  animation-duration: 1.5s; /* Speed up on hover */
}

.login-btn .rotating-btn-content {
  background: linear-gradient(135deg, #10b981, #059669);
}

/* Keyframes */
@keyframes rotate-clockwise {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes rotate-counter-clockwise {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

/* Alternative: Scanner Line Effect (Optional enhancement) */
.scanner-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: scanner-sweep 2s ease-in-out infinite;
}

@keyframes scanner-sweep {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Pulse effect for extra attention */
.rotating-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  background: inherit;
  opacity: 0;
  z-index: -2;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Loading State (when checking resume) */
.rotating-btn.loading {
  pointer-events: none;
}

.rotating-btn.loading .rotating-btn-content::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
  margin-left: 8px;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* Dark mode support */
.dark-mode .check-resume-btn .rotating-btn-content {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.dark-mode .login-btn .rotating-btn-content {
  background: linear-gradient(135deg, #34d399, #10b981);
}

/* ============================================
   CHECK MY RESUME BUTTON - BLINKING ANIMATION
   ============================================ */

/* Continuous blinking animation - color cycling */
@keyframes blink-colors {
    0% {
        background: linear-gradient(135deg, #b8f63b90, #25ebe5b8);
        box-shadow: 0 4px 15px rgba(11, 124, 75, 0.4);
    }
    25% {
        background: linear-gradient(135deg, #8B5CF6, #7C3AED);
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    }
    50% {
        background: linear-gradient(135deg, #4dec48d8, #27db27);
        box-shadow: 0 4px 15px rgba(38, 179, 17, 0.4);
    }
    75% {
        background: linear-gradient(135deg, #d47e06, #b27908);
        box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    }
    100% {
        background: linear-gradient(135deg, #c43bf6, #eb25b6);
        box-shadow: 0 4px 15px rgba(124, 17, 99, 0.4);
    }
}

/* Apply blinking animation to the button */
#check-resume-btn {
    animation: blink-colors 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

/* Hover effect - slightly faster blink */
#check-resume-btn:hover {
    animation-duration: 1s;
    transform: translateY(-2px);
}

/* Active/Click state - Yellow */
#check-resume-btn:active,
#check-resume-btn.clicked-yellow {
    animation: none !important;
    background: linear-gradient(135deg, #FBBF24, #F59E0B) !important;
    box-shadow: 0 4px 25px rgba(251, 191, 36, 0.8) !important;
}

/* ============================================
   LOGIN BUTTON - FLOATING STARS & GREEN CLICK
   ============================================ */

/* Base login button styles - HIGHER SPECIFICITY */
.login-star-btn,
#navbar .login-star-btn,
nav .login-star-btn {
    position: relative !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 1;
}

.login-star-btn:hover,
#navbar .login-star-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px);
}

/* GREEN STATE ON CLICK - MAXIMUM SPECIFICITY */
.login-star-btn.clicked-green,
#navbar .login-star-btn.clicked-green,
nav .login-star-btn.clicked-green,
.login-star-btn.clicked-green:hover,
#navbar .login-star-btn.clicked-green:hover {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border-color: #10b981 !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6), 0 0 30px rgba(16, 185, 129, 0.4) !important;
    animation: green-pulse 0.5s ease;
}

/* Stars container */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Individual stars */
.star {
    position: absolute;
    color: #fbbf24;
    font-size: 8px;
    opacity: 0;
    animation: float-star 3s ease-in-out infinite;
    text-shadow: 0 0 6px rgba(251, 191, 36, 0.8);
}

/* Star positions and delays */
.star:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.star:nth-child(2) { left: 25%; top: 60%; animation-delay: 0.6s; font-size: 6px; }
.star:nth-child(3) { left: 50%; top: 30%; animation-delay: 1.2s; font-size: 10px; }
.star:nth-child(4) { left: 70%; top: 70%; animation-delay: 1.8s; font-size: 5px; }
.star:nth-child(5) { left: 85%; top: 40%; animation-delay: 2.4s; font-size: 7px; }

/* Star floating animation */
@keyframes float-star {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(180deg);
    }
    80% {
        opacity: 1;
        transform: translateY(-20px) scale(1) rotate(360deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0) rotate(540deg);
    }
}

/* Button text */
.btn-text {
    position: relative;
    z-index: 2;
}

/* Green state stars */
.login-star-btn.clicked-green .star,
#navbar .login-star-btn.clicked-green .star {
    color: #86efac !important;
    text-shadow: 0 0 8px rgba(134, 239, 172, 0.8) !important;
    animation-play-state: paused;
}

@keyframes green-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Hide stars when green (optional) */
.login-star-btn.clicked-green .stars-container {
    opacity: 0.5;
}

/* Mobile touch optimization */
@media (hover: none) and (pointer: coarse) {
    .star {
        animation-duration: 2.5s;
    }
}

/* Light theme support */
html.light-theme .login-star-btn,
html.light-theme #navbar .login-star-btn {
    background: rgba(15, 23, 42, 0.1) !important;
    border-color: rgba(15, 23, 42, 0.2) !important;
    color: #0f172a !important;
}

html.light-theme .login-star-btn:hover,
html.light-theme #navbar .login-star-btn:hover {
    background: rgba(15, 23, 42, 0.15) !important;
}

html.light-theme .login-star-btn.clicked-green,
html.light-theme #navbar .login-star-btn.clicked-green,
html.light-theme .login-star-btn.clicked-green:hover {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border-color: #10b981 !important;
    color: white !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6) !important;
}

/* Mobile login button */
.mobile-login-star-btn {
    background: #f1f5f9 !important;
    position: relative;
    overflow: hidden;
}

.mobile-login-star-btn .star {
    color: #f59e0b;
    animation: float-star 2.5s ease-in-out infinite;
}

.mobile-login-star-btn .star:nth-child(1) { left: 15%; top: 30%; animation-delay: 0s; }
.mobile-login-star-btn .star:nth-child(2) { left: 50%; top: 60%; animation-delay: 0.8s; font-size: 6px; }
.mobile-login-star-btn .star:nth-child(3) { left: 80%; top: 25%; animation-delay: 1.6s; font-size: 9px; }

.mobile-login-star-btn.clicked-green {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border-color: #10b981 !important;
    color: white !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4) !important;
}