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

* { font-family: 'Inter', sans-serif; }
body { background: #eef2f7; }

.gradient-header {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    border-radius: 1.25rem 1.25rem 0 0;
}
.card-shadow {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.03);
}
.spinner {
    border: 4px solid rgba(0,0,0,0.1);
    border-left-color: #3b82f6;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }

.footer-link {
    transition: color 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-link:hover { color: #e1306c; transform: translateY(-2px); }

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.25s ease;
}
.modal-overlay.hidden { display: none; }
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.modal-content {
    background: #fff;
    border-radius: 2rem;
    max-width: 640px;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-content.max-w-4xl { max-width: 960px; }
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
}
.modal-close:hover { color: #333; }
@media (max-width: 480px) {
    .modal-content { padding: 1.5rem; border-radius: 1.5rem; }
    .modal-close { top: 0.5rem; right: 1rem; font-size: 1.8rem; }
}

/* Toast Notification */
.toast {
    background: #1f2937;
    color: #f3f4f6;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid #3b82f6;
}
.toast i { font-size: 1.2rem; color: #60a5fa; }
.toast .toast-close {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.6;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.2rem;
}
.toast .toast-close:hover { opacity: 1; }
@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
