/* ==========================================================================
   Dapy Master Tools - Estilos de Autenticação (Estilo Cakto Dark)
   Empresa: Dapy Soluções
   ========================================================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 20%, #161820 0%, #090a0d 80%);
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #f8fafc;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    background: #111216;
    border: 1px solid #1e2028;
    padding: 36px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background-color: rgba(0, 220, 130, 0.08);
    border: 1px solid rgba(0, 220, 130, 0.25);
    margin-bottom: 16px;
    color: #00dc82;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-brand-logo {
    width: 16px;
    height: 16px;
    background: #00dc82;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 10px;
}

.auth-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 12px;
    color: #94a3b8;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input {
    width: 100%;
    padding: 11px 14px;
    font-size: 13px;
    border: 1px solid #1e2028;
    background-color: #0b0c0f;
    color: #ffffff;
    transition: all 0.15s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #00dc82;
    background-color: #0d0f14;
    box-shadow: 0 0 0 1px #00dc82;
}

.auth-input::placeholder {
    color: #475569;
}

.btn-toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px;
}

.btn-toggle-password:hover {
    color: #94a3b8;
}

.auth-link {
    font-size: 11px;
    color: #00dc82;
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    color: #00be6f;
    text-decoration: underline;
}

.btn-auth-submit {
    width: 100%;
    padding: 12px;
    background: #00dc82;
    color: #000000;
    border: 1px solid #00dc82;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.btn-auth-submit:hover {
    background: #00be6f;
    border-color: #00be6f;
}

.btn-auth-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-footer-text {
    text-align: center;
    margin-top: 24px;
    font-size: 11px;
    color: #64748b;
}

.auth-alert {
    padding: 10px 14px;
    font-size: 12px;
    margin-bottom: 18px;
    display: none;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
    border: 1px solid transparent;
}

.auth-alert.visible {
    display: flex;
}

.auth-alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.25);
}

.auth-alert-success {
    background-color: rgba(0, 220, 130, 0.1);
    color: #00dc82;
    border-color: rgba(0, 220, 130, 0.25);
}

.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top-color: #000000;
    animation: spin 0.6s linear infinite;
    display: none;
}

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