/* Circumvention Central - Styles */

:root {
    /* VPN-inspired Color Scheme */
    --primary-red: #E70E02;
    --primary-orange: #FF7F11;
    --primary-blue: #011140;
    --accent-blue: #1E90FF;
    --primary-color: var(--primary-red); /* Main primary - red */
    --primary-hover: #C40D02; /* Darker red */
    --primary-light: #FFE8E6; /* Light red tint */
    --primary-transparent: rgba(231, 14, 2, 0.12);
    
    --secondary-color: var(--primary-orange); /* Orange */
    --secondary-hover: #E6700F; /* Darker orange */
    --accent-color: var(--accent-blue); /* Blue accent */
    
    --bg-color: #f8f9fa; /* Light background like VPN site */
    --card-bg-color: #FFFFFF; /* White */
    --card-bg-secondary: #F1F5F9; /* Slate 100 */
    
    --text-color: var(--primary-blue); /* Dark blue text */
    --text-secondary: #475569; /* Slate 600 */
    --text-muted: #64748B; /* Slate 500 */
    
    --border-color: #E2E8F0; /* Slate 200 */
    --border-color-focus: #94A3B8; /* Slate 400 */
    
    --success-color: #10B981; /* Emerald 500 */
    --success-bg: rgba(16, 185, 129, 0.1);
    --warning-color: #F59E0B; /* Amber 500 */
    --warning-bg: rgba(245, 158, 11, 0.1);
    --danger-color: #EF4444; /* Red 500 */
    --danger-bg: rgba(239, 68, 68, 0.1);
    --info-color: #0EA5E9; /* Sky 500 */
    --info-bg: rgba(14, 165, 233, 0.1);

    /* In-progress colors */
    --progress-primary: var(--primary-orange); /* Orange for progress */
    --progress-bg: rgba(255, 127, 17, 0.15);
    
    /* Completed colors */
    --completed-primary: #059669; /* Green for completed */
    --completed-bg: rgba(5, 150, 105, 0.15);
    
    --border-radius-sm: 0.375rem;
    --border-radius: 0.75rem; /* Slightly larger for modern look */
    --border-radius-lg: 1rem; /* More rounded like VPN site */
    --card-shadow: 0 4px 20px rgba(0,0,0,0.08); /* VPN-style shadow */
    --hover-shadow: 0 15px 35px rgba(0,0,0,0.15); /* VPN-style hover */
    --box-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --spacing-unit: 1rem;
    
    /* Animation speeds - VPN style - DISABLED */
    --transition: none;
    --transition-fast: none;
    --transition-normal: none;
    --transition-slow: none;

    /* Updated button colors with VPN gradients */
    --button-gradient: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    --button-hover-gradient: linear-gradient(135deg, #C40D02, #E6700F);
    --button-shadow: 0 4px 15px rgba(231, 14, 2, 0.3);
    --button-hover-shadow: 0 6px 20px rgba(231, 14, 2, 0.4);
}

/* Dark mode variables */
.dark-mode {
    --bg-color: #0F172A; /* Slate 900 */
    --card-bg-color: #1E293B; /* Slate 800 */
    --card-bg-secondary: #334155; /* Slate 700 */
    
    --text-color: #F1F5F9; /* Slate 100 */
    --text-secondary: #CBD5E1; /* Slate 300 */
    --text-muted: #94A3B8; /* Slate 400 */
    
    --border-color: #334155; /* Slate 700 */
    --border-color-focus: #475569; /* Slate 600 */
    
    --primary-transparent: rgba(37, 99, 235, 0.2);
}

/* Theme toggle specific styles */
.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

.theme-toggle.dark .sun-icon {
    display: none;
}

.theme-toggle.dark .moon-icon {
    display: block;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-weight: 400;
}

/* Header and Navigation Styles */
.site-header {
    width: 100%;
    background: rgba(30, 30, 35, 0.95); /* Dark charcoal to complement logo */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    z-index: 1000;
    color: white;
}

.site-header.scrolled {
    background: rgba(30, 30, 35, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: white; /* White logo text */
    text-decoration: none;
}

.logo:hover {
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-icon {
    color: var(--primary-orange); /* Orange icon */
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255,255,255,0.1);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: white; /* White hamburger lines */
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

/* Navigation */
.main-navigation {
    display: flex;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    text-decoration: none;
    border-radius: var(--border-radius);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.nav-item:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
}

.nav-item:hover:before {
    width: 100%;
}

.nav-item:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.nav-item.active {
    color: white;
    background-color: rgba(255, 127, 17, 0.2); /* Orange transparent background */
    font-weight: 600;
}

/* Mobile Navigation Controls */
.mobile-nav-controls {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.mobile-nav-controls .theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    color: white;
    font-weight: 500;
}

.mobile-nav-controls .theme-toggle:hover {
    background-color: rgba(255,255,255,0.2);
}

.mobile-nav-controls .language-selector {
    width: 100%;
}

.mobile-nav-controls .language-selector select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
}

.theme-toggle:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.theme-toggle-icon {
    width: 20px;
    height: 20px;
}

/* Container Styles */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Content Container (replaces old container) for main content */
.content-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2.5);
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
}

/* Page-specific containers */
.about-container, 
.history-container {
    width: 100%;
    padding: var(--spacing-unit) 0;
}

.about-section {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.about-section h4 {
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    color: var(--primary-color);
}

.features-list {
    padding-left: calc(var(--spacing-unit) * 1.25);
}

.features-list li {
    margin-bottom: calc(var(--spacing-unit) * 0.75);
}

/* Page title styles - VPN-inspired hero section */
#page-title-container {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 2);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    color: white;
    padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

#page-title-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 70%),
        radial-gradient(circle at 0% 0%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255,255,255,0.05) 0%, transparent 50%);
    background-size: 100% 100%;
    opacity: 0.4;
}

.title-container {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

#page-title-container h1 {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: white; /* White text instead of gradient */
    letter-spacing: -0.025em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.subtitle {
    color: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    margin-top: 0;
    font-size: 1.1rem;
}

/* Typography */
h1, h3, h4, h5 {
    margin-bottom: var(--spacing-unit);
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    margin-top: calc(var(--spacing-unit) * 2.5);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: calc(var(--spacing-unit) * 0.5);
    display: inline-block;
    position: relative;
}

h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

h4 {
    font-size: 1.25rem;
    margin-top: calc(var(--spacing-unit) * 1.5);
    margin-bottom: calc(var(--spacing-unit) * 0.8);
    color: var(--primary-color);
}

h5 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: calc(var(--spacing-unit) * 1);
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 0.5);
}

/* Update intro text styling */
p#intro-text {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-size: 1.05rem;
    padding: 0 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

p#intro-text::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

/* Controls and UI Elements */
.controls {
    display: flex;
    justify-content: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

/* Stop button style */
button#startButton.running {
    background: linear-gradient(135deg, var(--danger-color), #F87171);
    padding-right: calc(var(--spacing-unit) * 2.75); /* Reset padding when running */
}

button#startButton.running::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='2' ry='2'/%3E%3C/svg%3E");
    opacity: 0; /* Hide the icon when running */
}

button#startButton.running:hover:not(:disabled) {
    background: linear-gradient(135deg, #DC2626, #EF4444);
}

button#startButton:disabled {
    background: linear-gradient(135deg, var(--text-muted), #94A3B8);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    animation: none;
}

/* Progress and Status - Enhanced VPN-style */
#progress-status-area {
    margin-bottom: calc(var(--spacing-unit) * 2);
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

#progressBar {
    width: 100%;
    height: 16px;
    margin-bottom: calc(var(--spacing-unit) * 1);
    border-radius: 8px;
    overflow: hidden;
    appearance: none;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

#progressBar::-webkit-progress-bar {
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* Default progress state (VPN-style gradient) */
#progressBar::-webkit-progress-value {
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange));
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(231, 14, 2, 0.3);
    position: relative;
}

#progressBar::-webkit-progress-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
}

#progressBar::-moz-progress-bar {
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange));
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(231, 14, 2, 0.3);
}

/* In-Progress state with enhanced animation */
#progressBar.in-progress::-webkit-progress-value {
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-blue), var(--primary-red));
    background-size: 300% 100%;
    box-shadow: 0 2px 8px rgba(255, 127, 17, 0.4);
}

#progressBar.in-progress::-moz-progress-bar {
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-blue), var(--primary-red));
    background-size: 300% 100%;
}

/* Completed state with success gradient */
#progressBar.completed::-webkit-progress-value {
    background: linear-gradient(90deg, var(--success-color), #34D399);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

#progressBar.completed::-moz-progress-bar {
    background: linear-gradient(90deg, var(--success-color), #34D399);
}

/* Enhanced status text */
.status {
    width: 100%;
    font-style: normal;
    color: var(--primary-blue);
    margin: 0;
    font-size: 1rem;
    min-height: 1.5em;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.status.loading {
    background: linear-gradient(90deg, 
        rgba(255, 127, 17, 0.1), 
        rgba(231, 14, 2, 0.1), 
        rgba(255, 127, 17, 0.1));
    background-size: 200% 100%;
}

.error {
    color: white;
    background: linear-gradient(135deg, var(--danger-color), #F87171);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.success {
    color: white;
    background: linear-gradient(135deg, var(--success-color), #34D399);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Summary Section - Enhanced VPN-style cards */
#summary {
    margin-top: calc(var(--spacing-unit) * 1);
    margin-bottom: calc(var(--spacing-unit) * 3);
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-unit) * 1.5);
}

.summary-item {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-lg);
    padding: calc(var(--spacing-unit) * 1.75);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    text-align: center;
    min-height: 200px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.summary-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange));
    opacity: 0.8;
}

.summary-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0) 100%);
    z-index: 1;
}

.summary-item:hover {
    box-shadow: var(--hover-shadow);
    border-color: rgba(231, 14, 2, 0.2);
}

.summary-item:hover::before {
    height: 6px;
    opacity: 1;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange), var(--accent-blue));
}

.summary-item:hover::after {
    left: 100%;
}

/* Enhanced color variations for summary items */
#summary-latency {
    border-left: 4px solid var(--accent-blue);
}

#summary-latency::before {
    background: linear-gradient(90deg, var(--accent-blue), #60A5FA);
}

#summary-stability {
    border-left: 4px solid var(--success-color);
}

#summary-stability::before {
    background: linear-gradient(90deg, var(--success-color), #34D399);
}

#summary-speed {
    border-left: 4px solid var(--primary-orange);
}

#summary-speed::before {
    background: linear-gradient(90deg, var(--primary-orange), #FFA041);
}

#summary-streaming {
    border-left: 4px solid var(--primary-red);
}

#summary-streaming::before {
    background: linear-gradient(90deg, var(--primary-red), #FF5252);
}

.summary-main-metric {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.1;
    margin: calc(var(--spacing-unit) * 0.75) 0;
    word-break: break-all;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.summary-secondary-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: calc(var(--spacing-unit) * 0.5);
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.median-highlight {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

/* Details Toggle */
label[for="toggleDetails"] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: calc(var(--spacing-unit) * 2) auto;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1.5);
    box-shadow: var(--box-shadow-sm);
    max-width: max-content;
}

label[for="toggleDetails"]:hover {
    color: var(--primary-color);
    border-color: var(--border-color-focus);
}

label[for="toggleDetails"] input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Details Section */
#detailsContainer {
    background-color: var(--bg-color);
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2);
    margin-top: var(--spacing-unit);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow-sm);
    overflow: hidden;
}

.details-container {
    margin-top: calc(var(--spacing-unit) * 1.5);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    padding: calc(var(--spacing-unit) * 1.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--card-bg-color);
    box-shadow: var(--box-shadow-sm);
}

.details-container:hover {
    box-shadow: var(--hover-shadow);
}

/* Table Styles */
table {
    width: 100%;
    margin-bottom: var(--spacing-unit);
    background-color: transparent;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85em;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

th, td {
    padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1);
    text-align: left;
    vertical-align: middle;
}

th {
    background-color: var(--primary-transparent);
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color-focus);
    position: relative;
}

td {
    background-color: var(--card-bg-color);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover td {
    background-color: rgba(229, 231, 235, 0.2);
}

/* Footer Styles - Enhanced VPN-style */
.site-footer {
    width: 100%;
    padding: calc(var(--spacing-unit) * 3) 0 calc(var(--spacing-unit) * 2);
    margin-top: auto; /* Push footer to bottom if content is short */
    background: linear-gradient(135deg, var(--primary-blue), #1a2456);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 127, 17, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(231, 14, 2, 0.1) 0%, transparent 50%);
    opacity: 0.7;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange), var(--accent-blue));
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: calc(var(--spacing-unit) * 2);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    font-size: 1.2rem;
    color: white; /* Simple white text instead of gradient */
    margin-bottom: calc(var(--spacing-unit) * 1);
    font-weight: 700;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange));
    border-radius: 2px;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 0.75);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    position: relative;
    display: inline-block;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-blue));
}

.footer-link:hover {
    color: white;
}

.footer-link:hover::before {
    width: 100%;
}

.footer-bottom {
    margin-top: calc(var(--spacing-unit) * 2.5);
    text-align: center;
    font-size: 0.9rem;
    padding-top: calc(var(--spacing-unit) * 1.5);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 2;
}

.copyright {
    margin: 0;
}



/* Responsive Styles */
@media (max-width: 768px) {
    .container { 
        padding: calc(var(--spacing-unit) * 1.5); 
        max-width: 100%;
        margin: var(--spacing-unit);
    }
    
    .header-container {
        padding: 0.75rem;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide desktop header controls */
    .header-controls {
        display: none;
    }
    
    /* Mobile Navigation */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(1, 17, 64, 0.98); /* Same as header background */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.3);
        padding: 5rem 2rem 2rem;
        flex-direction: column;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-navigation.mobile-menu-open {
        right: 0;
    }
    
    .nav-item {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        justify-content: flex-start;
        font-size: 1.1rem;
        font-weight: 500;
        width: 100%;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .nav-item:last-of-type {
        border-bottom: none;
    }
    
    .nav-item span {
        margin-left: 0.5rem;
    }
    
    /* Show mobile navigation controls */
    .mobile-nav-controls {
        display: flex;
    }
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Adjust page wrapper for mobile */
    .page-wrapper {
        padding: calc(var(--spacing-unit) * 4.5) calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit) * 1.5);
    }
    
    h1 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    
    .summary-item { 
        min-height: 160px; 
        padding: var(--spacing-unit);
    }
    
    .summary-main-metric { font-size: 2.4rem; }
    
    #summary { grid-template-columns: 1fr; }
    
    .controls { margin-bottom: var(--spacing-unit) * 1.5; }
    
    th, td { 
        padding: calc(var(--spacing-unit) * 0.6);
        font-size: 0.8em; 
    }
    
    button#startButton {
        padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 2);
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    body { 
        padding: calc(var(--spacing-unit)*0.5);
    }
    
    .container { 
        padding: var(--spacing-unit);
        margin: calc(var(--spacing-unit) * 0.5);
        border-radius: var(--border-radius);
    }
    
    h1 { font-size: 1.6rem; }
    .summary-main-metric { font-size: 2.2rem; }
    
    th, td { 
        font-size: 0.75em;
        word-break: break-word;
        padding: calc(var(--spacing-unit) * 0.5);
    }
    
    #detailsContainer {
        padding: var(--spacing-unit);
    }
    
    .details-container {
        padding: var(--spacing-unit);
    }
}

/* Page Layout Structure - Add top padding for fixed header */
.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: calc(var(--spacing-unit) * 4.5) calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 1.5); /* Top padding for fixed header */
}

/* Footer Specific Styling */
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Content Section */
.content-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* View mode styles */
.view-mode .controls, 
.view-mode #progress-status-area,
.view-mode #startButton {
    display: none;
}

.content-section.view-mode .controls, 
.content-section.view-mode #progress-status-area,
.content-section.view-mode #startButton {
    display: none;
}

.test-id-header {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Tool Averages enhanced progress indicators */
.metric-indicator {
    height: 12px;
    width: 100%;
    background: linear-gradient(145deg, #e5e7eb, #f3f4f6);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
}

.metric-progress {
    height: 100%;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.metric-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.4) 50%, 
        rgba(255,255,255,0) 100%);
}

.legend-good, .metric-progress.good {
    background: linear-gradient(90deg, var(--success-color), #34D399);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.legend-medium, .metric-progress.medium {
    background: linear-gradient(90deg, var(--warning-color), #FCD34D);
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.legend-poor, .metric-progress.poor {
    background: linear-gradient(90deg, var(--primary-red), #FF5252);
    box-shadow: 0 2px 4px rgba(231, 14, 2, 0.3);
}

/* Add styling for tool version display */
.version-info {
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background-color: var(--bg-color-offset);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    display: inline-block;
}

.autocomplete-container {
    position: relative;
    width: 100%;
}

/* Form Container Styles - Enhanced VPN-style */
.form-container {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange), var(--accent-blue));
    opacity: 0.8;
}

.form-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.4) 50%, 
        rgba(255,255,255,0) 100%);
    z-index: 1;
    pointer-events: none;
}

.form-container:hover {
    box-shadow: var(--hover-shadow);
    border-color: rgba(231, 14, 2, 0.1);
}

.form-container:hover::before {
    height: 6px;
    opacity: 1;
}

.form-container:hover::after {
    left: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95rem;
    position: relative;
}

.form-group label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange));
}

.form-group:focus-within label::after {
    width: 30px;
}

/* Enhanced form controls with VPN-style effects */
.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--primary-blue);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    background-clip: padding-box;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    appearance: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(231, 14, 2, 0.15), 0 4px 12px rgba(0,0,0,0.1);
    background: white;
}

.form-control:focus::placeholder {
    opacity: 0.5;
}

.form-control:hover:not(:disabled):not(:focus) {
    border-color: rgba(231, 14, 2, 0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form-control:disabled {
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    opacity: 0.7;
    cursor: not-allowed;
}

/* Select styling - simplified */
select.form-control {
    cursor: pointer;
}

/* Autocomplete container styling */
.autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid rgba(0,0,0,0.1);
    border-top: none;
    z-index: 9999;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--card-shadow);
    max-height: 200px;
    overflow-y: auto;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Version info display */
#tool-version-display {
    position: absolute;
    right: 0;
    top: -1.25rem;
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--border-radius-sm);
    color: white;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    box-shadow: 0 2px 8px rgba(231, 14, 2, 0.3);
    font-weight: 600;
}

/* Language selector styles for dark header */
.header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-selector {
    position: relative;
}

.language-selector select {
    appearance: none;
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 14px;
    padding: 8px 12px;
}

.language-selector select:hover,
.language-selector select:focus {
    background-color: rgba(255,255,255,0.2);
    border-color: var(--primary-orange);
    outline: none;
}

/* For RTL languages support (future) */
html[dir="rtl"] .language-selector::after {
    right: auto;
    left: 10px;
} 

/* Enhanced Animations - VPN-style - DISABLED */

/* Enhanced button with VPN-style animations */
button#startButton {
    padding: calc(var(--spacing-unit) * 0.9) calc(var(--spacing-unit) * 2.75);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: var(--border-radius-lg);
    background: var(--button-gradient);
    color: white;
    box-shadow: var(--button-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

button#startButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0) 100%);
    z-index: -1;
}

button#startButton::after {
    content: '';
    position: absolute;
    right: 15px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    opacity: 0;
}

button#startButton:hover:not(:disabled) {
    background: var(--button-hover-gradient);
    box-shadow: var(--button-hover-shadow);
    padding-right: calc(var(--spacing-unit) * 3.25);
}

button#startButton:hover:not(:disabled)::before {
    left: 100%;
}

button#startButton:hover:not(:disabled)::after {
    opacity: 1;
}

button#startButton:active:not(:disabled) {
    box-shadow: var(--button-shadow);
}

/* Loading state with enhanced animations */
button#startButton.loading {
    background: linear-gradient(90deg, 
        var(--primary-orange), 
        var(--accent-blue), 
        var(--primary-orange));
    background-size: 200% 100%;
    padding-right: calc(var(--spacing-unit) * 2.75);
    cursor: wait;
}

button#startButton.loading::after {
    background-image: none;
    opacity: 0;
}

button#startButton.loading::before {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.4) 50%, 
        rgba(255,255,255,0) 100%);
    left: -100%;
}

/* Enhanced loading states for metrics */
.summary-main-metric.loading {
    background: linear-gradient(90deg, 
        var(--primary-orange), 
        var(--accent-blue), 
        var(--primary-orange));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.summary-main-metric.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0) 100%);
    z-index: 1;
}

/* Enhanced details container animations */
.details-container {
    margin-top: calc(var(--spacing-unit) * 1.5);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    padding: calc(var(--spacing-unit) * 1.5);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-lg);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.details-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange));
    opacity: 0.7;
}

.details-container:hover {
    box-shadow: var(--hover-shadow);
}

.details-container:hover::before {
    opacity: 1;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange), var(--accent-blue));
}

/* Enhanced table animations - DISABLED */

tbody tr:hover {
    background: linear-gradient(90deg, 
        rgba(231, 14, 2, 0.05), 
        rgba(255, 255, 255, 0.8));
}

th {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(231, 14, 2, 0.1), 
        rgba(255, 127, 17, 0.1));
}

th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange));
}

th:hover::after {
    width: 100%;
} 

/* Tool Averages page styles */

/* Sortable table headers */
.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.sortable:hover {
    background: linear-gradient(135deg, 
        rgba(231, 14, 2, 0.15), 
        rgba(255, 127, 17, 0.15));
}

.sortable .header-text {
    display: inline-block;
    margin-right: 0.5rem;
}

.sortable .sort-indicator {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.25rem;
    vertical-align: middle;
    opacity: 0.4;
}

.sortable .sort-indicator::before {
    content: '▲';
    font-size: 0.7rem;
    color: var(--primary-color);
}

.sortable.sort-asc .sort-indicator {
    opacity: 1;
}

.sortable.sort-desc .sort-indicator {
    opacity: 1;
}

.sortable.sort-asc .sort-indicator::before,
.sortable.sort-desc .sort-indicator::before {
    content: '▲';
}

.sortable:hover .sort-indicator {
    opacity: 0.7;
}

/* Filter styles */
.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: linear-gradient(135deg, 
        rgba(231, 14, 2, 0.04), 
        rgba(255, 127, 17, 0.04));
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    align-items: center;
    justify-content: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
    white-space: nowrap;
    margin: 0;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--card-bg-color);
    color: var(--text-color);
    font-size: 0.9rem;
    min-width: 140px;
    cursor: pointer;
}

.filter-select:hover {
    border-color: var(--border-color-focus);
    background: linear-gradient(135deg, 
        rgba(231, 14, 2, 0.02), 
        rgba(255, 127, 17, 0.02));
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 14, 2, 0.1);
    background-color: var(--card-bg-color);
}

/* Location tabs navigation */
.location-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 0.5rem;
    background: linear-gradient(135deg, 
        rgba(231, 14, 2, 0.04), 
        rgba(255, 127, 17, 0.04));
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    justify-content: center;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--card-bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.tab-button:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, 
        rgba(231, 14, 2, 0.05), 
        rgba(255, 127, 17, 0.05));
    box-shadow: var(--box-shadow-sm);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    color: white;
    border-color: var(--primary-red);
    box-shadow: var(--button-shadow);
}

.tab-button.active:hover {
    background: linear-gradient(135deg, #C40D02, #E6700F);
    box-shadow: var(--button-hover-shadow);
}

/* Date filter at bottom */
.date-filter-bottom {
    display: flex;
    justify-content: center;
    margin: 2rem 0 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, 
        rgba(231, 14, 2, 0.04), 
        rgba(255, 127, 17, 0.04));
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.date-filter-bottom .filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.date-filter-bottom .filter-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
    white-space: nowrap;
    margin: 0;
}

/* Responsive filters */
@media (max-width: 768px) {
    .filters-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .filter-select {
        min-width: auto;
        flex: 1;
    }
    
    .location-tabs {
        gap: 0.25rem;
        padding: 0.25rem;
    }
    
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        flex: 1;
        text-align: center;
    }
    
    .date-filter-bottom {
        margin: 1.5rem 0 0.5rem 0;
    }
    
    .date-filter-bottom .filter-group {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

.metrics-legend {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 3rem 0;
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-sm);
}

.legend-item:hover {
    box-shadow: var(--card-shadow);
}

.legend-color {
    width: 24px;
    height: 12px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Metric container and indicator styles */
.metric-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: var(--border-radius);
}

.metric-container:hover {
    box-shadow: var(--box-shadow-sm);
}

.metric-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.metric-value.good {
    color: #10b981;
}

.metric-value.medium {
    color: #f59e0b;
}

.metric-value.poor {
    color: #ef4444;
}

/* Tool links in table */
.tool-link {
    text-decoration: none;
    color: inherit;
}

.tool-link:hover {
    text-decoration: underline;
}

/* Version info display */
.version-info {
    margin-top: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    display: inline-block;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#tool-version-display {
    position: absolute;
    right: 0;
    top: -1.25rem;
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--border-radius-sm);
    color: white;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    box-shadow: 0 2px 8px rgba(231, 14, 2, 0.3);
    font-weight: 600;
}

/* Enhanced autocomplete styling */
.autocomplete-items div {
    padding: 1rem;
    cursor: pointer;
    color: var(--primary-blue);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.autocomplete-items div:last-child {
    border-bottom: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.autocomplete-items div:hover {
    background: linear-gradient(90deg, rgba(231, 14, 2, 0.05), rgba(255, 255, 255, 0.95));
}

.autocomplete-items div:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-red), var(--primary-orange));
}

/* Additional utility animations - DISABLED */

/* Enhanced focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced loading spinner for future use */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
}


/* Print styles for better printouts */
@media print {
    .site-header,
    .mobile-menu-toggle,
    .mobile-menu-overlay,
    .site-footer {
        display: none !important;
    }
    
    .page-wrapper {
        padding-top: 0 !important;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
} 