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

:root {
    --font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.3s, color 0.3s;
    min-height: 100vh;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s;
}

a:hover {
    color: var(--secondary);
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.4s ease;
}

.card { transition: all 0.3s ease; animation: fadeIn 0.4s ease; }
/* .card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important; } */

.table-hover tbody tr { transition: background-color 0.2s ease; }

/* Toast notification styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    pointer-events: auto;
    animation: slideInRight 0.35s ease-out;
    min-width: 280px;
    max-width: 420px;
}

.toast i {
    font-size: 1.3rem;
}

.toast-success {
    background-color: #148f77;
}

.toast-error {
    background-color: #c0392b;
}

.toast-info {
    background-color: #2e86c1;
}

.toast-warning {
    background-color: #d4ac0d;
    color: #2c3e50;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

/* Toast container */
.gms-toast { animation: fadeIn 0.3s ease; }

/* Utility classes */
.text-muted {
    color: var(--muted) !important;
}

.bg-card {
    background-color: var(--card-bg) !important;
}
