/* Fintech Auth Styles */
.fintech-auth-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.fintech-auth-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Form Section */
.fintech-form-section {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.fintech-form-container {
    width: 100%;
    max-width: 420px;
}

/* Back Home Button */
.fintech-back-home {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 10;
}

.fintech-back-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Titles */
.fintech-main-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fintech-signup-prompt {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.fintech-signup-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fintech-signup-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Alert */
.fintech-alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fintech-alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fbbf24;
    color: #92400e;
}

.fintech-alert-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: 1.1rem;
}

.fintech-alert-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Form */
.fintech-login-form {
    margin-top: 2rem;
}

.fintech-form-field {
    margin-bottom: 1.5rem;
}

.fintech-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.fintech-input-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.fintech-input-icon {
    padding: 0 1rem;
    color: #94a3b8;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.fintech-input-wrapper:focus-within .fintech-input-icon {
    color: #667eea;
}

.fintech-form-input {
    flex: 1;
    border: none;
    background: none;
    padding: 1rem 1rem 1rem 0;
    font-size: 1rem;
    color: #1e293b;
    outline: none;
    width: 100%;
}

.fintech-form-input::placeholder {
    color: #94a3b8;
}

/* Password Toggle */
.fintech-password-toggle {
    display: flex;
    align-items: center;
    width: 100%;
}

.fintech-password-toggle-btn {
    padding: 0 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.fintech-password-toggle-check {
    display: none;
}

.fintech-password-toggle-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2394a3b8"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"/></svg>') no-repeat center;
    background-size: contain;
    transition: background 0.3s ease;
}

.fintech-password-toggle-check:checked+.fintech-password-toggle-indicator {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23667eea"><path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>') no-repeat center;
    background-size: contain;
}

/* Form Options */
.fintech-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.fintech-remember-me {
    display: flex;
    align-items: center;
}

.fintech-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    margin-right: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.fintech-checkbox:checked {
    background: #667eea;
    border-color: #667eea;
}

.fintech-checkbox:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 0.75rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fintech-checkbox-label {
    color: #475569;
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
}

.fintech-forgot-password {
    color: #667eea;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fintech-forgot-password:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Captcha */
.fintech-captcha-container {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

/* Submit Button */
.fintech-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fintech-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.fintech-submit-btn:active {
    transform: translateY(0);
}

.fintech-submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.fintech-submit-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Banner Section */
.fintech-banner-section {
    flex: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.fintech-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 992px) {
    .fintech-auth-layout {
        flex-direction: column;
    }

    .fintech-form-section,
    .fintech-banner-section {
        max-width: 100%;
        width: 100%;
    }

    .fintech-form-section {
        order: 2;
        padding: 3rem 1.5rem;
    }

    .fintech-banner-section {
        order: 1;
        height: 200px;
        min-height: 200px;
    }

    .fintech-back-home {
        top: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 576px) {
    .fintech-main-title {
        font-size: 1.875rem;
    }

    .fintech-form-container {
        max-width: 100%;
    }

    .fintech-form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .fintech-form-section {
        padding: 2rem 1rem;
    }
}

/* Adicione estas classes ao CSS existente */

.fintech-form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.fintech-form-col {
    flex: 1;
}

.fintech-required {
    color: #ef4444;
    margin-left: 2px;
}

.fintech-input-group {
    display: flex;
    align-items: center;
}

.fintech-input-prefix {
    padding: 1rem;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: #475569;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

.fintech-input-group .fintech-input-wrapper {
    flex: 1;
    border-radius: 0 12px 12px 0;
}

.fintech-input-group .fintech-input-wrapper:focus-within {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

select.fintech-form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.fintech-link {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fintech-link:hover {
    color: #764ba2;
    text-decoration: underline;
}