@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

body {
    font-family: 'Nunito', sans-serif;
    background-color: #111827; /* Global Dark Blue Theme */
    color: #1f2937;
    overscroll-behavior: none;
}

/* --- Brand Colors --- */
.bg-brand-dark { background-color: #111827; } 
.text-brand-dark { color: #111827; }

.text-brand-orange { color: #f97316; }
.bg-brand-orange { background-color: #f97316; }
.border-brand-orange { border-color: #f97316; }

.border-brand-cyan { border-color: #06b6d4; }
.text-brand-cyan { color: #06b6d4; }
.bg-brand-cyan { background-color: #06b6d4; }

/* --- Custom Card Styling --- */
.linguamis-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.linguamis-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #f97316;
}

/* --- Animations --- */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.recording-pulse::before {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: #ef4444;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* Confetti Animation */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: #06b6d4; 
    animation: fall linear forwards;
    z-index: 9999;
}

@keyframes fall {
    to { transform: translateY(100vh) rotate(720deg); }
}

/* --- Custom UI Elements --- */

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

/* Active Tab Indicator (Mobile) */
.nav-item.active {
    color: #f97316; /* Orange */
    background-color: #fff7ed;
}
.nav-item.active i {
    transform: scale(1.1);
}

/* Select Dropdown Customization */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Range Slider Customization */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #f97316;
    cursor: pointer;
    margin-top: -5px;
}
input[type=range]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
}
