/* ============================================
   LOGIN.CSS - Estilos da página de login
   ============================================ */

/* Google Fonts - Outfit */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap');

body.login-page {
    font-family: 'Outfit', sans-serif;
    background-color: #f9fafb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 1rem;
}

/* ========== GLASS PANEL ========== */
.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 28rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.glass-panel:hover {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

/* ========== BACKGROUND BLOBS ========== */
.login-bg-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.7;
    mix-blend-mode: multiply;
}

.blob-yellow {
    background-color: #fef3c7;
    top: -10rem;
    right: -10rem;
    animation: blob 7s infinite;
}

.blob-red {
    background-color: #fee2e2;
    bottom: -10rem;
    left: -10rem;
    animation: blob 7s infinite 2s;
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

/* ========== LOGIN HEADER ========== */
.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.025em;
    margin: 0;
}

.login-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ========== FORM ========== */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.login-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-left: 0.25rem;
}

.login-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #111827;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.login-input::placeholder {
    color: #9ca3af;
}

.login-input:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px #fbbf24;
}

/* ========== ERROR MESSAGE ========== */
.login-error {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.login-error p {
    font-size: 0.875rem;
    color: #b91c1c;
    margin: 0;
}

/* ========== SUBMIT BUTTON ========== */
.login-btn {
    width: 100%;
    color: white;
    background: linear-gradient(to right, #ef4444, #f59e0b);
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: 0.75rem;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.2s;
}

.login-btn:hover {
    background: linear-gradient(to right, #dc2626, #d97706);
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.15);
}

.login-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.3);
}

/* ========== FOOTER ========== */
.login-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
    .glass-panel {
        padding: 1.5rem;
    }

    .login-logo {
        width: 4rem;
        height: 4rem;
    }

    .login-title {
        font-size: 1.25rem;
    }

    .blob {
        width: 16rem;
        height: 16rem;
    }
}