/* =============================================
   SimpleUsers - Estilos Base (Mejorado)
   Versión 2.0
   ============================================= */

/* Reset */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    background: #f8fafc;
}

/* ===== STATUS MESSAGES (Mejorados) ===== */
.status-message {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    max-width: 420px;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.status-message.show {
    transform: translateX(0);
}

.status-message.success {
    background: rgba(34, 197, 94, 0.95);
    color: #ffffff;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-message.error {
    background: rgba(239, 68, 68, 0.95);
    color: #ffffff;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-message.info {
    background: rgba(79, 70, 229, 0.95);
    color: #ffffff;
    border: 1px solid rgba(79, 70, 229, 0.3);
}

.status-message .close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    font-size: 0.8rem;
    margin-left: 12px;
    flex-shrink: 0;
}

.status-message .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.status-message .msg-icon {
    margin-right: 12px;
    font-size: 1.2rem;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== SCROLL SMOOTH ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SELECTION ===== */
::selection {
    background: #4F46E5;
    color: #ffffff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #060161;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4338CA;
}