﻿/* 1. RESET */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.page:has(.worten-auth-container),
.main:has(.worten-auth-container),
.content:has(.worten-auth-container) {
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    background: transparent !important;
}

/* 2. CONTENTOR PRINCIPAL */
.worten-auth-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #b30000 0%, #e60000 50%, #800000 100%);
    overflow: hidden;
    z-index: 9999;
}

/* 3. CÍRCULOS */
/* 3. CÍRCULOS COM CONTORNO */
.blur-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: transparent;
    z-index: 1;
}

.circle-1 {
    width: 380px;
    height: 380px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    top: -60px;
    left: -60px;
    animation: floatVertical 8s ease-in-out infinite alternate;
}

.circle-2 {
    width: 420px;
    height: 420px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    bottom: -120px;
    right: -60px;
    animation: floatHorizontal 12s ease-in-out infinite alternate;
}

.circle-3 {
    width: 280px;
    height: 280px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    top: 35%;
    left: 15%;
    animation: floatDiagonal 10s ease-in-out infinite alternate;
}

/* 4. CARTÃO */
.login-card {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 420px;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.logo-text {
    color: #e60000;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.card-title-b2b {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
}


/* 6. FORMULÁRIO */
.form-label-custom {
    font-size: 0.85rem;
    font-weight: 600;
    color: #515154;
    margin-bottom: 0.4rem;
}

.form-control-custom {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 1rem;
    background: #f5f5f7;
    transition: all 0.2s;
    box-sizing: border-box;
}

    .form-control-custom:focus {
        outline: none;
        border-color: #e60000;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.15);
    }

.otp-input {
    font-size: 1.8rem;
    letter-spacing: 8px;
    text-align: center;
    font-weight: 700;
    color: #1d1d1f;
}

.btn-worten-submit {
    width: 100%;
    background-color: transparent;
    color: #e60000;
    border: 1.5px solid #e60000;
    padding: 0.85rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

    .btn-worten-submit:hover {
        background-color: rgba(230, 0, 0, 0.06);
    }

/* Botão SSO — agora primário (vermelho sólido) */
.btn-worten-microsoft {
    display: block;
    width: 100%;
    background-color: #e60000;
    color: #ffffff;
    margin-top: 1rem;
    border: none;
    padding: 0.75rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s;
    box-sizing: border-box;
}

    .btn-worten-microsoft:hover {
        background-color: #cc0000;
        text-decoration: none;
        color: #ffffff;
    }

.btn-success-mfa {
    background-color: #28a745;
}

    .btn-success-mfa:hover {
        background-color: #218838;
    }

.divider-text {
    margin: 1.5rem 0;
    font-size: 0.8rem;
    color: #86868b;
    text-align: center;
}

.auth-step-wrapper {
    animation: fadeIn 0.4s ease-in-out;
}
.worten-input.e-input-group,
.worten-input.e-float-input {
    border-color: #d2d2d7 !important;
    background: #f5f5f7 !important;
    border-radius: 8px !important;
}

    .worten-input.e-float-input:focus-within {
        border-color: #e60000 !important;
        background: #ffffff !important;
        box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.15) !important;
    }

    .worten-input.e-float-input label.e-float-text {
        color: #515154 !important;
    }

    .worten-input.e-float-input:focus-within label.e-float-text {
        color: #e60000 !important;
    }

