/* ============================================
   AUTH 3D MODERN DESIGN — SHARED STYLES
   Used by login.html and register.html
   ============================================ */

.auth-body-3d {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.auth-bg-3d {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Grid Pattern */
.auth-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 102, 194, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 102, 194, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Floating Orbs */
.auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 15s ease-in-out infinite;
}

.auth-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #0a66c2 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

.auth-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.auth-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
    opacity: 0.25;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Floating Particles */
.auth-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.auth-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #0a66c2;
    border-radius: 50%;
    opacity: 0.4;
    animation: particleRise 10s linear infinite;
}

@keyframes particleRise {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

/* Main Container */
.auth-wrapper-3d {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Split Layout */
.auth-container-3d {
    display: flex;
    width: 100%;
    max-width: 1100px;
    min-height: 600px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: cardReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardReveal {
    0% { opacity: 0; transform: scale(0.9) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Left Side - Branding */
.auth-branding-3d {
    flex: 1;
    background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-branding-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.brand-logo-3d {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: logoFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.brand-logo-3d img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.brand-title-3d {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.brand-subtitle-3d {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Feature List */
.brand-features-3d {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.brand-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    animation: featureSlide 0.6s ease-out forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.brand-feature-item:nth-child(1) { animation-delay: 0.3s; }
.brand-feature-item:nth-child(2) { animation-delay: 0.4s; }
.brand-feature-item:nth-child(3) { animation-delay: 0.5s; }

@keyframes featureSlide {
    to { opacity: 1; transform: translateX(0); }
}

.brand-feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Right Side - Form */
.auth-form-3d {
    flex: 1;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-header-3d {
    margin-bottom: 2rem;
}

.auth-form-title-3d {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.auth-form-subtitle-3d {
    color: var(--neutral-500);
    font-size: 0.9375rem;
}

/* Form Inputs */
.input-group-3d {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group-3d label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
}

.input-wrapper-3d {
    position: relative;
}

.input-3d {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--neutral-200);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--neutral-900);
    background: var(--neutral-50);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-3d:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-surface);
    box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.1), 0 4px 12px rgba(10, 102, 194, 0.1);
    transform: translateY(-2px);
}

.input-3d::placeholder {
    color: var(--neutral-400);
}

.input-icon-3d {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-400);
    font-size: 1.125rem;
    transition: color 0.3s;
}

.input-3d:focus + .input-icon-3d,
.input-wrapper-3d:focus-within .input-icon-3d {
    color: var(--primary);
}

/* Links */
.auth-link-3d {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-link-3d:hover {
    color: var(--primary-600);
    text-decoration: underline;
}

/* Submit Button */
.btn-submit-3d {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.3);
}

.btn-submit-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-submit-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 102, 194, 0.4);
}

.btn-submit-3d:hover::before {
    opacity: 1;
}

.btn-submit-3d:active {
    transform: translateY(-1px);
}

.btn-submit-3d:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.auth-form-footer-3d {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-100);
}

.auth-form-footer-3d span {
    color: var(--neutral-500);
    font-size: 0.9375rem;
}

/* Google OAuth Button — Estilo oficial Google */
.btn-google-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0 1rem;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #dadce0;
    background: #ffffff;
    color: #3c4043;
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.25px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
}

.btn-google-oauth:hover {
    background: #f7f8f8;
    border-color: #c6c9cd;
    color: #3c4043;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15), 0 1px 2px rgba(60, 64, 67, 0.18);
    text-decoration: none;
}

.btn-google-oauth:focus-visible {
    outline: 2px solid #4285F4;
    outline-offset: 2px;
}

.btn-google-oauth:active {
    background: #eef0f2;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.2);
}

.btn-google-oauth .google-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.btn-google-oauth .google-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.btn-google-oauth .google-btn-text {
    flex: 1;
    text-align: center;
    margin-right: 24px; /* Compensa o ícone para centralizar o texto */
}

/* Auth Divider */
.auth-divider-3d {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
}

.auth-divider-3d::before,
.auth-divider-3d::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.auth-divider-3d span {
    font-size: 0.8125rem;
    color: rgba(0, 0, 0, 0.45);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Remember Me Checkbox */
.remember-me-group {
    margin: 1rem 0 1.5rem;
}

.remember-me-label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.remember-me-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.remember-me-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #dadce0;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.remember-me-check::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) scale(0);
    transition: transform 0.15s ease;
    margin-top: -2px;
}

.remember-me-label input:checked ~ .remember-me-check {
    background: #0a66c2;
    border-color: #0a66c2;
}

.remember-me-label input:checked ~ .remember-me-check::after {
    transform: rotate(-45deg) scale(1);
}

.remember-me-text {
    font-size: 0.875rem;
    color: #3c4043;
}

/* Dark mode overrides */
[data-bs-theme="dark"] .btn-google-oauth {
    background: var(--bg-card);
    border-color: var(--border-default);
    color: var(--text-primary);
}

[data-bs-theme="dark"] .btn-google-oauth:hover {
    background: var(--bg-hover);
    border-color: var(--border-default);
    color: var(--text-primary);
}

[data-bs-theme="dark"] .remember-me-check {
    border-color: var(--border-default);
}

[data-bs-theme="dark"] .remember-me-text {
    color: var(--text-secondary);
}

[data-bs-theme="dark"] .auth-form-3d {
    background: rgba(30, 41, 59, 0.97);
}

[data-bs-theme="dark"] .auth-form-title-3d {
    color: var(--text-primary);
}

[data-bs-theme="dark"] .auth-form-subtitle-3d {
    color: var(--text-secondary);
}

[data-bs-theme="dark"] .input-group-3d label {
    color: var(--text-secondary);
}

[data-bs-theme="dark"] .input-3d {
    background: var(--bg-hover);
    border-color: var(--border-default);
    color: var(--text-primary);
}

[data-bs-theme="dark"] .input-3d:focus {
    background: var(--bg-card);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.2), 0 4px 12px rgba(10, 102, 194, 0.15);
}

[data-bs-theme="dark"] .input-3d::placeholder {
    color: var(--text-muted);
}

[data-bs-theme="dark"] .auth-divider-3d::before,
[data-bs-theme="dark"] .auth-divider-3d::after {
    background: rgba(255, 255, 255, 0.15);
}

[data-bs-theme="dark"] .auth-divider-3d span {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container-3d {
        flex-direction: column;
        max-width: 420px;
    }

    .auth-branding-3d {
        padding: 2rem;
        min-height: auto;
    }

    .brand-title-3d {
        font-size: 1.75rem;
    }

    .brand-features-3d {
        display: none;
    }

    .auth-form-3d {
        padding: 2rem;
    }
}
 
 
/* ========================================================================
   v12.46 — refator inline-styles (forgot_password.html, reset_password.html)
   ======================================================================== */
.auth-feature-icon-glass { background: rgba(255, 255, 255, 0.15); }
.auth-branding-panel-warning { background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%); }
.auth-branding-panel-purple { background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 50%, #4c1d95 100%); }
.auth-icon-circle-warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.auth-icon-circle-purple { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
