/* Reset e Base (Dark Theme) */
body.page-background {
    background-color: #050505 !important;
    background-image: none !important;
    font-family: 'Inter', sans-serif !important;
    margin: 0;
    padding: 0;
    color: #ffffff;
}

div.page {
    background-image: none !important;
    background-color: transparent !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

div.page::after {
    display: none !important;
}

.rfk-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 25px; /* Espaçamento entre o logo e o texto abaixo */
}

.rfk-logo-wrapper img {
    max-width: 220px; /* Ajuste conforme o tamanho desejado */
    height: auto;
    display: block;
}

/* Remova ou comente as classes .logo-box e .title se não for mais utilizá-las */
.logo-box, .title {
    display: none;
}

/* Background Orbs (Dark/Gold Palette) */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
}
.orb-top {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background-color: #765a23;
    opacity: 0.2;
}
.orb-bottom {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background-color: #e6c17f;
    opacity: 0.1;
}

/* Card */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-card {
    width: 100%;
    max-width: 480px;
    background-color: #0f0f0f !important;
    border: 1px solid rgba(118, 90, 35, 0.3) !important;
    border-radius: 12px !important;
    padding: 40px !important;
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.8) !important;
    position: relative;
    z-index: 10;
}

/* Header */
.header-section {
    text-align: center;
    margin-bottom: 32px;
}

.logo-box {
    width: 32px;
    height: 32px;
    background-color: #131b2e;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.logo-box span {
    color: #ffffff;
    font-variation-settings: 'FILL' 1;
    font-size: 20px;
}

.title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.025em;
}

.subtitle {
    font-size: 16px;
    color: #a1a1aa; /* text-on-surface-variant em dark mode */
    margin: 0;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #d1d5db; /* text-gray-300 */
    margin-bottom: 12px;
}

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

.input-icon {
    position: absolute;
    left: 12px;
    color: #76777d; /* text-outline */
    font-size: 20px;
    pointer-events: none;
    transition: color 0.2s;
}

.input-wrapper:focus-within .input-icon {
    color: #765a23;
}

.form-control {
    width: 100% !important;
    height: 48px !important;
    padding: 14px 12px 14px 40px !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    color: #ffffff !important;
    transition: all 0.2s ease;
}

.form-control::placeholder {
    color: #76777d !important;
}

.form-control:focus {
    border-color: #765a23 !important;
    box-shadow: 0 0 0 1px #765a23 !important;
    outline: none !important;
}

/* Language & Options */
.language-selection {
    text-align: center;
    margin-bottom: 20px;
}

.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 4px;
}

.remember-box label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #a1a1aa; /* on-surface-variant */
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    transition: color 0.2s;
}

.remember-box label:hover {
    color: #ffffff;
}

.remember-box input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #76777d;
    background-color: transparent;
    accent-color: #765a23;
    cursor: pointer;
}

.forgot-password-link a, .footer-links a {
    color: #765a23 !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password-link a:hover, .footer-links a:hover {
    color: #785c25 !important;
}

/* Submit Button */
.btn-primary-rfk {
    width: 100%;
    height: 48px;
    background-color: #765a23;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(118, 90, 35, 0.2), 0 4px 6px -4px rgba(118, 90, 35, 0.2);
    transition: filter 0.2s ease, transform 0.1s ease;
}

.btn-primary-rfk:hover {
    filter: brightness(1.1);
}

.btn-primary-rfk:active {
    transform: translateY(2px);
}

.icon-right {
    font-size: 20px;
}

/* Footer / New User */
.footer-links {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: #a1a1aa;
}
.footer-links a {
    font-size: 14px;
    margin-left: 4px;
}

.copyright {
    position: absolute;
    bottom: 30px;
    text-align: center;
    width: 100%;
    font-size: 14px;
    color: #76777d;
}

/* Alerts */
.alert-message {
    position: absolute;
    bottom: 70px;
    width: 100%;
    max-width: 480px;
    z-index: 100;
}
