:root { --bg-dark: #09090b; --bg-card: #121214; --border: #27272a; --accent: #10b981; }
body { background-color: var(--bg-dark); color: #e4e4e7; font-family: 'Inter', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* Layout Utilities */
.view-section { display: none; height: 100%; width: 100%; }
.view-section.active { display: flex; flex-direction: column; animation: fadeIn 0.3s ease-out; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-ring { 
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); } 
    70% { box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } 
}

.recording-active { 
    animation: pulse-ring 2s infinite; 
    background-color: #10b981 !important; 
    border-color: #10b981 !important; 
    color: black !important;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 3px; }

input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }

/* Dropdown Animation */
.dropdown-enter { animation: scaleIn 0.1s ease-out forwards; transform-origin: top right; }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* Custom Select UI */
.custom-select-container { position: relative; }
.custom-select-trigger {
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; user-select: none;
}
.custom-select-options {
    position: absolute; top: 100%; left: 0; right: 0;
    background-color: #18181b;
    border: 1px solid #27272a;
    border-radius: 0.5rem;
    margin-top: 0.25rem;
    z-index: 50;
    overflow: hidden;
    display: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}
.custom-select-options.open { display: block; animation: scaleIn 0.1s ease-out forwards; }
.custom-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: #a1a1aa;
    transition: all 0.2s;
    font-size: 0.75rem;
}
.custom-option:hover {
    background-color: #27272a;
    color: white;
}
.custom-option.selected {
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.1);
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #18181b inset !important;
    -webkit-text-fill-color: #e4e4e7 !important;
    caret-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}