/* Custom styles for Controle de Estoque */

/* =============================================
   STOCKFLOW - DESIGN SYSTEM
   Dark Mode First + Light Mode via Tailwind dark:
   ============================================= */

/* Base Typography */
body {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* =============================================
   SCROLLBAR - DARK MODE (default)
   ============================================= */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.dark ::-webkit-scrollbar-track,
:root:not(.light) ::-webkit-scrollbar-track {
    background: rgba(39, 39, 42, 0.5);
    /* zinc-800 */
}

.dark ::-webkit-scrollbar-thumb,
:root:not(.light) ::-webkit-scrollbar-thumb {
    background: rgba(82, 82, 91, 0.5);
    /* zinc-600 */
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb:hover,
:root:not(.light) ::-webkit-scrollbar-thumb:hover {
    background: rgba(113, 113, 122, 0.6);
    /* zinc-500 */
}

/* =============================================
   SCROLLBAR - LIGHT MODE
   ============================================= */
.light ::-webkit-scrollbar-track {
    background: #f4f4f5;
}

.light ::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 4px;
}

.light ::-webkit-scrollbar-thumb:hover {
    background: #a1a1aa;
}

/* =============================================
   DATE INPUT - DARK MODE (default)
   ============================================= */
.dark input[type="date"]::-webkit-calendar-picker-indicator,
:root:not(.light) input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
}

.dark input[type="date"]::-webkit-calendar-picker-indicator:hover,
:root:not(.light) input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 0.8;
}

/* =============================================
   DATE INPUT - LIGHT MODE
   ============================================= */
.light input[type="date"]::-webkit-calendar-picker-indicator {
    filter: none;
    opacity: 0.7;
    cursor: pointer;
}

.light input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* =============================================
   NUMBER INPUT
   ============================================= */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 0.5;
}

/* =============================================
   FOCUS RING
   ============================================= */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 25%, transparent) !important;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.product-row {
    transition: all 0.2s ease;
}

button[disabled],
button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

button.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   PRINT
   ============================================= */
@media print {
    body {
        background: white !important;
        color: black !important;
    }

    .no-print {
        display: none !important;
    }
}

/* =============================================
   THEME: DARK MODE (Default)
   ============================================= */
.dark body,
:root:not(.light) body {
    background: #18181b;
    /* zinc-900 */
    color: #fafafa;
}

/* =============================================
   LOGO SWITCHING BY THEME
   ============================================= */
/* Dark mode: show dark logo, hide light logo */
.dark .logo-light,
:root:not(.light) .logo-light {
    display: none !important;
}

.dark .logo-dark,
:root:not(.light) .logo-dark {
    display: block !important;
}

/* Light mode: show light logo, hide dark logo */
.light .logo-dark {
    display: none !important;
}

.light .logo-light {
    display: block !important;
}

/* =============================================
   THEME: LIGHT MODE
   Premium Clean Design
   ============================================= */
.light body {
    background: #fafafa;
    color: #18181b;
}

/* ----- SIDEBAR LIGHT ----- */
.light aside {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    border-color: #e4e4e7 !important;
}

.light aside .border-zinc-700\/50,
.light aside .border-b {
    border-color: #e4e4e7 !important;
}

/* Sidebar Text */
.light aside .text-zinc-300,
.light aside .text-zinc-400,
.light aside span,
.light aside p {
    color: #52525b !important;
}

.light aside .text-white,
.light aside .font-medium {
    color: #27272a !important;
}

.light aside .text-xs {
    color: #71717a !important;
}

/* Sidebar Links */
.light aside a:hover {
    background: rgba(115, 115, 115, 0.08) !important;
}

.light aside a:hover span,
.light aside a:hover .text-zinc-300 {
    color: #3f3f46 !important;
}

/* Sidebar Active Link */
.light aside .bg-zinc-700\/50 {
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.light aside .bg-zinc-700\/50 span {
    color: #27272a !important;
    font-weight: 600;
}

/* Store Selector */
.light .bg-zinc-700\/50 {
    background: rgba(245, 245, 245, 0.8) !important;
    border: 1px solid #e4e4e7 !important;
}

.light .bg-zinc-700\/50:hover {
    background: rgba(229, 229, 229, 0.9) !important;
}

.light .bg-zinc-700 {
    background: #f4f4f5 !important;
    border: 1px solid #e4e4e7 !important;
}

.light .bg-zinc-800 {
    background: #ffffff !important;
    border-color: #e4e4e7 !important;

}

/* ----- CARDS & CONTAINERS LIGHT ----- */
.light .bg-zinc-800\/50 {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(229, 229, 229, 0.8) !important;

}

.light .bg-zinc-900\/50,
.light .bg-zinc-900 {
    background: #fafafa !important;
    border-color: #e4e4e7 !important;
}

/* ----- BORDERS LIGHT ----- */
.light .border-zinc-700\/50,
.light .border-zinc-700,
.light .border-zinc-700\/30,
.light .border-zinc-600 {
    border-color: #e4e4e7 !important;
}

/* ----- TEXT COLORS LIGHT ----- */
.light .text-white {
    color: #27272a !important;
}

.light .text-zinc-300,
.light .text-zinc-400 {
    color: #71717a !important;
}

.light .text-zinc-500 {
    color: #a1a1aa !important;
}

.light h1,
.light h2,
.light h3 {
    color: #18181b !important;
}

/* Keep colored text as-is */
.light .text-primary-400,
.light .text-primary-500 {
    color: var(--color-primary) !important;
}

.light .text-green-400 {
    color: #16a34a !important;
}

.light .text-red-400 {
    color: #dc2626 !important;
}

.light .text-yellow-400 {
    color: #ca8a04 !important;
}

.light .text-amber-400 {
    color: #d97706 !important;
}

.light .text-accent-400 {
    color: #c026d3 !important;
}

.light .text-indigo-400 {
    color: #4f46e5 !important;
}

/* ----- INPUTS LIGHT ----- */
.light input,
.light textarea,
.light select {
    background: #ffffff !important;
    border: 1px solid #d4d4d8 !important;
    color: #27272a !important;
}

.light input:focus,
.light textarea:focus,
.light select:focus {
    background: #ffffff !important;
    border-color: var(--color-primary) !important;
}

.light input::placeholder,
.light textarea::placeholder {
    color: #a1a1aa !important;
}

/* Range input */
.light input[type="range"] {
    background: #e4e4e7 !important;
}

/* Color input */
.light input[type="color"] {
    border: 1px solid #d4d4d8 !important;
}

/* ----- TABLES LIGHT ----- */
.light table thead {
    background: #fafafa !important;
}

.light table thead th {
    color: #52525b !important;
}

.light table tbody tr {
    border-color: #f4f4f5 !important;
}

.light table tbody tr:hover {
    background: rgba(245, 245, 245, 0.7) !important;
}

.light table td {
    color: #3f3f46 !important;
}

/* ----- BUTTONS LIGHT ----- */
/* Primary buttons keep white text */
.light .gradient-primary,
.light .bg-primary-500,
.light .bg-primary-600,
.light .bg-accent-600,
.light .bg-green-600,
.light .bg-red-500,
.light .bg-amber-600,
.light .bg-indigo-600 {
    color: #ffffff !important;
}

.light .gradient-primary *,
.light .bg-primary-500 *,
.light .bg-primary-600 *,
.light .bg-accent-600 *,
.light .bg-green-600 *,
.light .bg-red-500 *,
.light .bg-amber-600 *,
.light .bg-indigo-600 * {
    color: #ffffff !important;
}

/* Secondary buttons */
.light .bg-zinc-700 {
    background: #f4f4f5 !important;
    color: #52525b !important;
    border: 1px solid #e4e4e7 !important;
}

.light .bg-zinc-700:hover {
    background: #e4e4e7 !important;
}

/* ----- ALERTS/BADGES LIGHT ----- */
.light .bg-green-500\/10 {
    background: rgba(22, 163, 74, 0.08) !important;
    border-color: rgba(22, 163, 74, 0.25) !important;
}

.light .bg-red-500\/10 {
    background: rgba(220, 38, 38, 0.08) !important;
    border-color: rgba(220, 38, 38, 0.25) !important;
}

.light .bg-yellow-500\/10,
.light .bg-amber-500\/10 {
    background: rgba(202, 138, 4, 0.08) !important;
    border-color: rgba(202, 138, 4, 0.25) !important;
}

.light .bg-primary-500\/10,
.light .bg-primary-500\/20 {
    background: color-mix(in srgb, var(--color-primary) 8%, transparent) !important;
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent) !important;
}

/* ----- BORDER PRIMARY LIGHT ----- */
.light .border-primary-500 {
    border-color: var(--color-primary) !important;
}

.light .hover\:border-primary-500\/50:hover,
.light [class*="hover:border-primary"]:hover {
    border-color: color-mix(in srgb, var(--color-primary) 50%, transparent) !important;
}

/* ----- STAT CARDS LIGHT ----- */
.light .bg-primary-500\/20 {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent) !important;
}

.light .bg-red-500\/20 {
    background: rgba(220, 38, 38, 0.1) !important;
}

.light .bg-yellow-500\/20 {
    background: rgba(202, 138, 4, 0.1) !important;
}

.light .bg-green-500\/20 {
    background: rgba(22, 163, 74, 0.1) !important;
}

/* ----- MODALS LIGHT ----- */
.light .bg-black\/70 {
    background: rgba(15, 23, 42, 0.5) !important;
}

.light #delete-modal .bg-zinc-800,
.light .modal-content {
    background: #ffffff !important;
    border-color: #e4e4e7 !important;

}

/* ----- DROPDOWNS LIGHT ----- */
.light #loja-dropdown {
    background: #ffffff !important;
    border-color: #e4e4e7 !important;

}

.light #loja-dropdown a {
    color: #52525b !important;
}

.light #loja-dropdown a:hover {
    background: #f4f4f5 !important;
    color: var(--color-primary) !important;
}

.light #loja-dropdown .text-primary-400 {
    color: var(--color-primary) !important;
}

.light #loja-dropdown .border-zinc-700 {
    border-color: #e4e4e7 !important;
}

/* ----- MOBILE HEADER LIGHT ----- */
.light header.bg-zinc-800\/80 {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    border-color: #e4e4e7 !important;
}

.light header .text-zinc-400 {
    color: #71717a !important;
}

.light header .font-semibold {
    color: #27272a !important;
}

/* ----- FILTER BUTTONS LIGHT ----- */
.light .filter-btn {
    background: #f4f4f5 !important;
    color: #52525b !important;
    border-color: transparent !important;
}

.light .filter-btn:hover {
    background: #e4e4e7 !important;
}

.light .filter-btn.bg-primary-500\/20 {
    background: color-mix(in srgb, var(--color-primary) 12%, transparent) !important;
    color: var(--color-primary) !important;
    border-color: color-mix(in srgb, var(--color-primary) 30%, transparent) !important;
}

/* ----- DAYS SELECTOR BUTTONS LIGHT ----- */
.light .dias-btn {
    background: #f4f4f5 !important;
    color: #52525b !important;
    border: 1px solid #e4e4e7 !important;
}

.light .dias-btn:hover {
    background: #e4e4e7 !important;
}

.light .dias-btn.bg-primary-500 {
    background: var(--color-primary) !important;
    color: #ffffff !important;
    border-color: var(--color-primary) !important;
}

/* ----- TAGS LIGHT ----- */
.light .bg-zinc-700\/50.border-zinc-600 {
    background: #f4f4f5 !important;
    border-color: #e4e4e7 !important;
}

.light .bg-zinc-700\/50.border-zinc-600:hover {
    border-color: #d4d4d8 !important;
}

.light .bg-zinc-700\/50.border-zinc-600 span {
    color: #3f3f46 !important;
}

/* ----- TOGGLE SWITCHES LIGHT ----- */
.light .bg-zinc-600 {
    background: #d4d4d8 !important;
}

.light .bg-zinc-700\/30 {
    background: #f4f4f5 !important;
}

/* ----- THEME SELECTOR CARDS LIGHT ----- */
.light .peer-checked\:border-indigo-500 {
    border-color: #4f46e5 !important;
}

.light .peer-checked\:bg-indigo-500\/10 {
    background: rgba(79, 70, 229, 0.08) !important;
}

.light .peer-checked\:border-yellow-500 {
    border-color: #eab308 !important;
}

.light .peer-checked\:bg-yellow-500\/10 {
    background: rgba(234, 179, 8, 0.08) !important;
}

.light .peer-checked\:border-purple-500 {
    border-color: #a855f7 !important;
}

.light .peer-checked\:bg-purple-500\/10 {
    background: rgba(168, 85, 247, 0.08) !important;
}

/* ----- TOAST LIGHT ----- */
.light #toast {}

/* ----- AVATAR LIGHT ----- */
.light .bg-gradient-to-br.from-primary-400.to-accent-500 {
    color: #ffffff !important;
}

/* ----- EMPTY STATE LIGHT ----- */
.light .text-zinc-600 {
    color: #a1a1aa !important;
}

/* ----- PRODUCT ROW QUANTITY BADGE LIGHT ----- */
.light .bg-zinc-700\/50 span {
    color: #3f3f46 !important;
}

/* ----- AUTH PAGES (Login/Register) LIGHT ----- */
.light main.min-h-full {
    background: linear-gradient(135deg, #fafafa 0%, #f4f4f5 50%, #e4e4e7 100%);
}

.light .text-zinc-400 {
    color: #71717a !important;
}

/* Auth card */
.light main .bg-zinc-800\/50 {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: #e4e4e7 !important;

}

/* Auth inputs */
.light main input {
    background: #fafafa !important;
    border-color: #e4e4e7 !important;
    color: #27272a !important;
}

.light main input:focus {
    background: #ffffff !important;
    border-color: #0ea5e9 !important;
}

.light main label {
    color: #52525b !important;
}

/* ----- ONBOARDING PAGE LIGHT ----- */
.light .bg-zinc-900\/95 {
    background: rgba(255, 255, 255, 0.98) !important;
}

/* ----- SUBSCRIPTION PAGE LIGHT ----- */
.light .bg-gradient-to-br {
    background: linear-gradient(135deg, #fafafa 0%, #f4f4f5 50%, #e4e4e7 100%) !important;
}

/* ----- ADMIN PAGE LIGHT ----- */
.light .bg-zinc-800\/80 {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: #e4e4e7 !important;
}

/* ----- UPLOAD PAGE LIGHT ----- */
.light .border-dashed {
    border-color: #d4d4d8 !important;
}

.light .border-dashed:hover {
    border-color: #0ea5e9 !important;
    background: rgba(14, 165, 233, 0.04) !important;
}

/* ----- PRODUCT FORM LIGHT ----- */
.light .bg-zinc-700\/30 {
    background: rgba(245, 245, 245, 0.6) !important;
}

/* ----- LOJAS PAGE LIGHT ----- */
.light .hover\:border-primary-500\/50:hover {
    border-color: rgba(14, 165, 233, 0.4) !important;
}

.light .hover\:border-red-500\/50:hover {
    border-color: rgba(220, 38, 38, 0.4) !important;
}

.light .hover\:border-yellow-500\/50:hover {
    border-color: rgba(202, 138, 4, 0.4) !important;
}

.light .hover\:border-green-500\/50:hover {
    border-color: rgba(22, 163, 74, 0.4) !important;
}

/* ----- FOCUS RING LIGHT ----- */
.light *:focus-visible {
    outline-color: rgba(14, 165, 233, 0.6);
}

/* ----- SIDEBAR BACKDROP LIGHT ----- */
.light #sidebar-backdrop {
    background: rgba(15, 23, 42, 0.3) !important;
}

/* ----- ICON COLORS LIGHT ----- */
.light svg.text-zinc-400 {
    color: #a1a1aa !important;
}

.light svg.text-zinc-500 {
    color: #71717a !important;
}

.light svg.text-zinc-600 {
    color: #52525b !important;
}

/* ----- LINK COLORS LIGHT ----- */
.light a.text-primary-400:hover {
    color: #0369a1 !important;
}

/* ----- HOVER STATES LIGHT ----- */
.light .hover\:text-white:hover {
    color: #18181b !important;
}

.light .hover\:text-primary-400:hover {
    color: #0284c7 !important;
}

.light .hover\:text-red-400:hover {
    color: #dc2626 !important;
}

/* ----- RANGE SLIDER LIGHT ----- */
.light input[type="range"]::-webkit-slider-thumb {
    background: #0ea5e9;
}

.light input[type="range"]::-webkit-slider-runnable-track {
    background: #e4e4e7;
}

/* ----- PURPLE/ACCENT BACKGROUNDS LIGHT ----- */
.light .from-purple-500\/20,
.light .to-purple-500\/20 {
    --tw-gradient-from: rgba(168, 85, 247, 0.1) !important;
    --tw-gradient-to: rgba(168, 85, 247, 0.1) !important;
}

/* ----- SHADOW ADJUSTMENTS LIGHT ----- */
.light .shadow-primary-500\/30 {
    --tw-shadow-color: rgba(14, 165, 233, 0.15) !important;
}

.light .shadow-2xl {}

.light .shadow-xl {}

.light .shadow-lg {}

/* ----- DELETE MODAL LIGHT ----- */
.light #delete-modal>div:first-child {
    background: rgba(15, 23, 42, 0.4) !important;
}

.light #delete-modal .bg-zinc-800 {
    background: #ffffff !important;
}

.light #delete-modal .text-white {
    color: #27272a !important;
}

.light #delete-modal .text-zinc-300 {
    color: #52525b !important;
}

/* ----- LOJA MENU DROPDOWN LIGHT ----- */
.light [id^="menu-"] {
    background: #ffffff !important;
    border-color: #e4e4e7 !important;

}

.light [id^="menu-"] a,
.light [id^="menu-"] button {
    color: #52525b !important;
}

.light [id^="menu-"] a:hover,
.light [id^="menu-"] button:hover {
    background: #f4f4f5 !important;
}

/* ----- CREATE/EDIT MODAL LIGHT ----- */
.light #create-modal .bg-zinc-800,
.light #edit-modal .bg-zinc-800 {
    background: #ffffff !important;
    border-color: #e4e4e7 !important;
}

.light #create-modal .text-white,
.light #edit-modal .text-white {
    color: #27272a !important;
}

.light #create-modal .text-zinc-300,
.light #edit-modal .text-zinc-300 {
    color: #52525b !important;
}

/* ----- GRADIENT TEXT STAYS GRADIENT ----- */
.light .bg-gradient-to-r.from-primary-400.to-accent-400.bg-clip-text {
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

/* ----- PRODUCT IMAGE PLACEHOLDER LIGHT ----- */
.light .bg-zinc-800\/50 .text-zinc-600 {
    color: #d4d4d8 !important;
}

/* ----- SUBSCRIPTION REQUIRED PAGE LIGHT ----- */
.light .from-zinc-900,
.light .via-zinc-800,
.light .to-zinc-900 {
    --tw-gradient-from: #fafafa !important;
    --tw-gradient-via: #f4f4f5 !important;
    --tw-gradient-to: #e4e4e7 !important;
}

/* ----- ADMIN PAGE CODE BLOCKS LIGHT ----- */
.light code,
.light pre {
    background: #f4f4f5 !important;
    color: #27272a !important;
}

.light .font-mono {
    color: #52525b !important;
}

/* ----- CHECKBOX/RADIO LIGHT ----- */
.light input[type="checkbox"],
.light input[type="radio"] {
    accent-color: #0ea5e9;
}

/* ----- DISABLED STATES LIGHT ----- */
.light .cursor-not-allowed {
    opacity: 0.6;
}

.light .opacity-60 {
    opacity: 0.5;
}

/* ----- BORDER COLORS FOR CARDS LIGHT ----- */
.light .border-primary-500 {
    border-color: #0ea5e9 !important;
}

.light .border-red-500\/50 {
    border-color: rgba(220, 38, 38, 0.3) !important;
}

.light .border-green-500\/30 {
    border-color: rgba(22, 163, 74, 0.25) !important;
}

.light .border-red-500\/30 {
    border-color: rgba(220, 38, 38, 0.25) !important;
}

/* ----- ENSURE PROPER CONTRAST ----- */
.light p,
.light span:not([class*="text-"]),
.light div:not([class*="text-"]):not([class*="bg-"]) {
    color: inherit;
}

/* =============================================
   COLOR INPUT - FULLY CIRCULAR
   ============================================= */
input[type="color"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
    border-radius: 50%;
}

input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
}

input[type="color"]::-moz-color-swatch {
    border: none;
    border-radius: 50%;
}

/* =============================================
   TOAST NOTIFICATIONS - TOP RIGHT
   ============================================= */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    animation: toastSlideIn 0.3s ease-out, toastFadeOut 0.3s ease-in 4.7s forwards;
    pointer-events: auto;
    max-width: 400px;
}

.toast-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.toast-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.toast-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.toast-info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.toast-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

.toast-message {
    font-size: 0.875rem;
    font-weight: 500;
}

.toast-close {
    flex-shrink: 0;
    margin-left: auto;
    padding: 0.25rem;
    border-radius: 0.375rem;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateX(50%);
    }
}

/* Light mode toast adjustments */
.light .toast-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.light .toast-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.light .toast-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.light .toast-info {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

/* =============================================
   BTN-PRIMARY REUSABLE CLASS
   ============================================= */
.btn-primary {
    background: var(--color-primary) !important;
    color: var(--color-text) !important;
}

.btn-primary:hover {
    filter: brightness(0.9);
}

.btn-primary * {
    color: var(--color-text) !important;
}