/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --background-light: #ffffff;
    --background-dark: #111827;
    --text-light: #1f2937;
    --text-dark: #f9fafb;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Theme Variables */
.theme-her {
    --primary-accent: #ec4899;
    --secondary-accent: #8b5cf6;
}

.theme-lost {
    --primary-accent: #10b981;
    --secondary-accent: #3b82f6;
}

.theme-blade {
    --primary-accent: #1e40af;
    --secondary-accent: #64748b;
}

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

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design helpers */
.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
    .desktop-only {
        display: block;
    }
}

/* Loading states */
.loading-skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Chat specific styles */
/* Lo-Fi Interview Styles */
body {
    background-color: #f5f5f5;
    color: #333;
}

.dark body {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

/* Chat bubbles */
[class*="bg-gray-100"] {
    background-color: #f0f0f0;
}

.dark [class*="bg-gray-700"] {
    background-color: #2a2a2a;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.dark ::-webkit-scrollbar-thumb {
    background-color: #555;
}

/* Input field glow */
textarea:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    outline: none;
}

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Minimal shadows */
.shadow-sm {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Progress bar */
[class*="bg-blue-500"] {
    background-color: #4a90e2;
}

.dark [class*="bg-blue-400"] {
    background-color: #5da0e8;
}
/* Call mode specific */
.waveform-container {
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
}

/* Theme transition */
.theme-transition * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}