/* Variáveis CSS para compatibilidade */
:root {
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --primary-color: #667eea;
    --accent-color: #764ba2;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-dark: #1a202c;
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --wolverine-orange: #ff6b35;
    --wolverine-gold: #ffd700;
}

/* Estilos específicos para páginas de autenticação */

body.auth-page {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Partículas animadas de fundo */
.auth-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes backgroundShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(1deg); }
}

/* Bolas flutuantes animadas */
.floating-balls {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.ball {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    animation: floatBall 15s ease-in-out infinite;
}

.ball:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.ball:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.ball:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: -10s;
}

.ball:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: -7s;
}

@keyframes floatBall {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% { 
        transform: translateY(-20px) rotate(90deg) scale(1.1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-40px) rotate(180deg) scale(0.9);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-20px) rotate(270deg) scale(1.05);
        opacity: 0.9;
    }
}

#bg-anim {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.auth-page .auth-container, .auth-page .plan-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -moz-backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    width: 90%;
    margin: 2rem auto;
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out;
    -moz-animation: fadeInUp 0.8s ease-out;
    -webkit-animation: fadeInUp 0.8s ease-out;
    text-align: center;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-page .auth-container h2, .auth-page .plan-container h2 {
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -1px;
    font-size: 2.1rem;
    animation: fadeIn 1.2s 0.2s both;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.auth-page .decor-svg {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    z-index: 3;
    opacity: 0.9;
    animation: float 3.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

@keyframes float {
    0%,100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
    50% { transform: translateX(-50%) translateY(-18px) rotate(5deg); }
}

.auth-page .hero-media {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(255,107,53,0.13);
    animation: fadeIn 1.2s 0.4s both;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-page .hero-media:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 8px 32px rgba(255,107,53,0.25);
}

.auth-page .hero-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.auth-page .form-group {
    width: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 1s 0.3s both;
    position: relative;
}

.auth-page .form-group label {
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.auth-page .form-group:hover label {
    transform: translateX(5px);
}

.auth-page .form-group input {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.auth-page .form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
}

.auth-page .form-group input:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
}

.auth-page .form-group input:invalid {
    border-color: rgba(239, 68, 68, 0.3);
}

.auth-page .form-group input:valid {
    border-color: rgba(16, 185, 129, 0.3);
}

/* Estilos para elementos select */
.auth-page .form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.auth-page .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.auth-page .form-group select:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.auth-page .form-group select option {
    background: white;
    color: var(--text-primary);
    padding: 0.5rem;
}

.auth-page .btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    letter-spacing: 0.5px;
    animation: fadeInUp 1s 0.5s both;
    -moz-animation: fadeInUp 1s 0.5s both;
    -webkit-animation: fadeInUp 1s 0.5s both;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.auth-page .btn-primary i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
}

.auth-page .btn-primary:hover i {
    transform: translateX(3px);
    -moz-transform: translateX(3px);
    -webkit-transform: translateX(3px);
}

.auth-page .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background: -moz-linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background: -webkit-linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    -moz-transition: left 0.5s;
    -webkit-transition: left 0.5s;
}

.auth-page .btn-primary:hover::before {
    left: 100%;
}

.auth-page .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    -moz-transform: translateY(-3px) scale(1.02);
    -webkit-transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.auth-page .btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    -moz-transform: translateY(-1px) scale(0.98);
    -webkit-transform: translateY(-1px) scale(0.98);
}

.auth-page .auth-container p, .auth-page .plan-container p {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    animation: fadeIn 1.2s 0.7s both;
    text-align: center;
}

.auth-page .auth-container a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.auth-page .auth-container a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.auth-page .auth-container a:hover::after {
    width: 100%;
}

.auth-page .auth-container a:hover {
    transform: translateX(3px);
}

/* Planos animados */
.auth-page .plans {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s 0.6s both;
}

.auth-page .plan-card {
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 220px;
    max-width: 260px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s 0.7s both;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.auth-page .plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.auth-page .plan-card:hover::before {
    transform: scaleX(1);
}

.auth-page .plan-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
    transform: translateY(-8px) scale(1.02);
}

.auth-page .plan-card:active {
    transform: translateY(-4px) scale(1.01);
}

.auth-page .plan-card h3 {
    margin: 0 0 0.5rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.auth-page .plan-card p {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.auth-page .plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: left;
}

.auth-page .plan-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2em;
    transition: all 0.3s ease;
}

.auth-page .plan-card ul li:hover {
    transform: translateX(5px);
    color: var(--text-primary);
}

.auth-page .plan-card ul li:before {
    content: '✔';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1em;
    top: 0;
    animation: checkmark 0.3s ease;
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(-180deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.auth-page .plan-card .btn-primary {
    margin-top: auto;
    font-size: 1.05rem;
}

.auth-page #resumoPlano {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.08rem;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    padding: 1rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
    animation: fadeIn 1.2s 0.8s both;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

/* Responsividade */
@media (max-width: 600px) {
    .auth-page .auth-container, .auth-page .plan-container {
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
        max-width: 98vw;
    }
    .auth-page .plans {
        flex-direction: column;
        gap: 1.2rem;
    }
    .auth-page .plan-card {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
    .auth-page .decor-svg {
        width: 80px;
        height: 80px;
        top: -40px;
    }
    .auth-page .hero-media {
        max-width: 98vw;
    }
    .ball {
        display: none;
    }
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .auth-page .auth-container, .auth-page .plan-container {
        padding: 1.5rem 1rem 1.5rem 1rem;
        max-width: 95vw;
        margin: 1rem auto;
    }
    
    .auth-page .auth-container h2, .auth-page .plan-container h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .auth-page .plans {
        flex-direction: column;
        gap: 1rem;
    }
    
    .auth-page .plan-card {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        padding: 1.5rem 1rem 1rem 1rem;
    }
    
    .auth-page .decor-svg {
        width: 60px;
        height: 60px;
        top: -30px;
    }
    
    .auth-page .hero-media {
        max-width: 95vw;
        height: 150px;
    }
    
    .auth-page .form-group input {
        padding: 0.8rem 0.8rem;
        font-size: 16px; /* Evita zoom no iOS */
    }
    
    .auth-page .btn-primary {
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }
    
    .ball {
        display: none;
    }
}

@media (max-width: 480px) {
    .auth-page .auth-container, .auth-page .plan-container {
        padding: 1rem 0.8rem 1rem 0.8rem;
        max-width: 98vw;
        margin: 0.5rem auto;
    }
    
    .auth-page .auth-container h2, .auth-page .plan-container h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .auth-page .hero-media {
        height: 120px;
    }
    
    .auth-page .form-group {
        margin-bottom: 1rem;
    }
    
    .auth-page .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .auth-page .form-group input {
        padding: 0.7rem 0.7rem;
        font-size: 16px;
    }
    
    .auth-page .btn-primary {
        padding: 0.8rem 0.8rem;
        font-size: 0.95rem;
    }
    
    .auth-page .plan-card {
        padding: 1rem 0.8rem 0.8rem 0.8rem;
    }
    
    .auth-page .plan-card h3 {
        font-size: 1.1rem;
    }
    
    .auth-page .plan-card p {
        font-size: 1rem;
    }
    
    .auth-page .plan-card ul {
        font-size: 0.9rem;
    }
}

/* Estilos para placeholders informativos */
.auth-page .form-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
    font-style: italic;
    transition: all 0.3s ease;
}

.auth-page .form-group input:focus::placeholder {
    opacity: 0.4;
    transform: translateX(5px);
}

/* Tooltip para botões */
.btn-tooltip {
    position: relative;
}

.btn-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-bottom: 5px;
}

.btn-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0,0,0,0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-bottom: -5px;
}

.btn-tooltip:hover::after,
.btn-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Indicadores de força de senha */
.password-strength {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength.weak .password-strength-fill {
    background: #ef4444;
    width: 25%;
}

.password-strength.medium .password-strength-fill {
    background: #f59e0b;
    width: 50%;
}

.password-strength.strong .password-strength-fill {
    background: #10b981;
    width: 75%;
}

.password-strength.very-strong .password-strength-fill {
    background: #059669;
    width: 100%;
}

/* Melhorias na responsividade para telas muito pequenas */
@media (max-width: 360px) {
    .auth-page .auth-container, .auth-page .plan-container {
        padding: 0.8rem 0.6rem 0.8rem 0.6rem;
        max-width: 99vw;
        margin: 0.3rem auto;
    }
    
    .auth-page .auth-container h2, .auth-page .plan-container h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .auth-page .form-group input,
    .auth-page .form-group select {
        padding: 0.6rem 0.6rem;
        font-size: 16px;
    }
    
    .auth-page .btn-primary {
        padding: 0.7rem 0.7rem;
        font-size: 0.9rem;
    }
    
    .auth-page .plan-card {
        padding: 0.8rem 0.6rem 0.6rem 0.6rem;
    }
    
    .auth-page .plan-card h3 {
        font-size: 1rem;
    }
    
    .auth-page .plan-card p {
        font-size: 0.9rem;
    }
    
    .auth-page .plan-card ul {
        font-size: 0.8rem;
    }
    
    .auth-page .plan-card ul li {
        margin-bottom: 0.3rem;
        padding-left: 1em;
    }
}

/* Melhorias específicas para página de registro */
.auth-page .auth-container {
    max-width: 600px; /* Container maior para o formulário de registro */
    padding: 2.5rem 2rem 2rem 2rem;
    min-height: auto;
    margin: 2rem auto;
    width: 90%;
    box-sizing: border-box;
}

/* Botão de registro melhorado - Compatível com Firefox */
.auth-page .btn-register {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: -moz-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.auth-page .btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    background: -moz-linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    background: -webkit-linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
    -moz-transition: left 0.6s ease;
    -webkit-transition: left 0.6s ease;
}

.auth-page .btn-register:hover::before {
    left: 100%;
}

.auth-page .btn-register:hover {
    transform: translateY(-4px) scale(1.02);
    -moz-transform: translateY(-4px) scale(1.02);
    -webkit-transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    background: -moz-linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    background: -webkit-linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.auth-page .btn-register:active {
    transform: translateY(-2px) scale(0.98);
    -moz-transform: translateY(-2px) scale(0.98);
    -webkit-transform: translateY(-2px) scale(0.98);
}

.auth-page .btn-register i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
}

.auth-page .btn-register:hover i {
    transform: translateX(5px) scale(1.1);
    -moz-transform: translateX(5px) scale(1.1);
    -webkit-transform: translateX(5px) scale(1.1);
}

.auth-page .btn-register:disabled {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    background: -moz-linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    background: -webkit-linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    cursor: not-allowed;
    transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    box-shadow: 0 4px 15px rgba(160, 174, 192, 0.3);
}

.auth-page .btn-register:disabled:hover {
    transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    box-shadow: 0 4px 15px rgba(160, 174, 192, 0.3);
}

/* Melhorias na responsividade para registro */
@media (max-width: 768px) {
    .auth-page .auth-container {
        max-width: 95vw;
        padding: 2rem 1.5rem 1.5rem 1.5rem;
        margin: 1rem auto;
    }
    
    .auth-page .btn-register {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 14px;
    }
    
    .auth-page .form-group {
        margin-bottom: 1.2rem;
    }
    
    .auth-page .form-group input {
        padding: 0.8rem 0.8rem;
        font-size: 16px;
    }
    
    .auth-page .password-strength {
        margin-top: 0.3rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .auth-page .auth-container {
        padding: 1.5rem 1rem 1rem 1rem;
        max-width: 98vw;
        margin: 0.5rem auto;
    }
    
    .auth-page .auth-container h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .auth-page .btn-register {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
        border-radius: 12px;
        margin-top: 0.8rem;
    }
    
    .auth-page .form-group {
        margin-bottom: 1rem;
    }
    
    .auth-page .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .auth-page .form-group input {
        padding: 0.7rem 0.7rem;
        font-size: 16px;
    }
    
    .auth-page .password-strength {
        margin-top: 0.2rem;
        font-size: 0.7rem;
    }
    
    .auth-page .password-strength-bar {
        height: 3px;
    }
}

@media (max-width: 360px) {
    .auth-page .auth-container {
        padding: 1rem 0.8rem 0.8rem 0.8rem;
        max-width: 99vw;
        margin: 0.3rem auto;
    }
    
    .auth-page .auth-container h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .auth-page .btn-register {
        padding: 0.8rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 10px;
        margin-top: 0.6rem;
    }
    
    .auth-page .form-group {
        margin-bottom: 0.8rem;
    }
    
    .auth-page .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .auth-page .form-group input {
        padding: 0.6rem 0.6rem;
        font-size: 16px;
    }
}

/* Melhorias no indicador de força de senha */
.auth-page .password-strength {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.auth-page .password-strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.auth-page .password-strength-fill {
    height: 100%;
    transition: all 0.4s ease;
    border-radius: 2px;
    position: relative;
}

.auth-page .password-strength-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.auth-page .password-strength.weak .password-strength-fill {
    background: linear-gradient(90deg, #ef4444, #f87171);
    width: 25%;
}

.auth-page .password-strength.medium .password-strength-fill {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    width: 50%;
}

.auth-page .password-strength.strong .password-strength-fill {
    background: linear-gradient(90deg, #10b981, #34d399);
    width: 75%;
}

.auth-page .password-strength.very-strong .password-strength-fill {
    background: linear-gradient(90deg, #059669, #10b981);
    width: 100%;
}

/* Estilos específicos para formulário de registro */
.auth-page .register-form {
    width: 100%;
    max-width: 100%;
}

.auth-page .register-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.auth-page .register-form .form-group:last-of-type {
    margin-bottom: 2rem;
}

/* Melhorias na responsividade para telas muito pequenas */
@media (max-width: 320px) {
    .auth-page .auth-container {
        padding: 1rem 0.6rem 0.6rem 0.6rem;
        max-width: 100vw;
        margin: 0.2rem auto;
    }
    
    .auth-page .auth-container h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .auth-page .btn-register {
        padding: 0.7rem 0.6rem;
        font-size: 0.85rem;
        border-radius: 8px;
        margin-top: 0.5rem;
    }
    
    .auth-page .form-group {
        margin-bottom: 0.7rem;
    }
    
    .auth-page .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }
    
    .auth-page .form-group input {
        padding: 0.5rem 0.5rem;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .auth-page .password-strength {
        margin-top: 0.15rem;
        font-size: 0.65rem;
        padding: 0.3rem;
    }
    
    .auth-page .password-strength-bar {
        height: 2px;
    }
}

/* Melhorias para tablets em modo paisagem */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .auth-page .auth-container {
        max-width: 600px;
        padding: 2rem 2.5rem 2rem 2.5rem;
    }
    
    .auth-page .btn-register {
        padding: 1.1rem 2.5rem;
        font-size: 1.05rem;
    }
    
    .auth-page .form-group {
        margin-bottom: 1.3rem;
    }
}

/* Melhorias para telas grandes */
@media (min-width: 1200px) {
    .auth-page .auth-container {
        max-width: 700px;
        padding: 3rem 3rem 2.5rem 3rem;
        margin: 3rem auto;
    }
    
    .auth-page .btn-register {
        padding: 1.4rem 3rem;
        font-size: 1.2rem;
        border-radius: 18px;
    }
    
    .auth-page .form-group {
        margin-bottom: 2rem;
    }
    
    .auth-page .form-group input {
        padding: 1.2rem 1.2rem;
        font-size: 1.1rem;
        border-radius: 12px;
    }
    
    .auth-page .auth-container h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .auth-page .form-group label {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
}

/* Melhorias para telas muito grandes */
@media (min-width: 1600px) {
    .auth-page .auth-container {
        max-width: 800px;
        padding: 4rem 4rem 3rem 4rem;
        margin: 4rem auto;
    }
    
    .auth-page .btn-register {
        padding: 1.6rem 4rem;
        font-size: 1.3rem;
        border-radius: 20px;
    }
    
    .auth-page .form-group {
        margin-bottom: 2.5rem;
    }
    
    .auth-page .form-group input {
        padding: 1.4rem 1.4rem;
        font-size: 1.2rem;
        border-radius: 14px;
    }
    
    .auth-page .auth-container h2 {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    .auth-page .form-group label {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
}

/* Melhorias para telas médias */
@media (min-width: 768px) and (max-width: 1199px) {
    .auth-page .auth-container, .auth-page .plan-container {
        max-width: 600px;
        padding: 3rem 2.5rem;
        margin: 2.5rem auto;
    }
    
    .auth-page .auth-container h2, .auth-page .plan-container h2 {
        font-size: 2rem;
        margin-bottom: 1.8rem;
    }
    
    .auth-page .btn-primary, .auth-page .btn-register {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .auth-page .form-group {
        margin-bottom: 1.5rem;
    }
    
    .auth-page .form-group input {
        padding: 1rem 1rem;
        font-size: 1rem;
    }
}

/* Correção global de responsividade e centralização dos planos */
.auth-page .plan-container {
    max-width: 900px !important;
    margin: 2rem auto !important;
    padding: 2rem 1rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}
.auth-page .plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}
.auth-page .plan-card {
    flex: 1 1 320px;
    max-width: 380px;
    min-width: 260px;
    margin: 0 auto;
    box-sizing: border-box;
    background: rgba(255,255,255,0.97);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(99,102,241,0.08);
    border: 1.5px solid #e2e8f0;
    padding: 2rem 1.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.auth-page .plan-card:hover {
    box-shadow: 0 8px 32px rgba(99,102,241,0.18);
    transform: translateY(-6px) scale(1.03);
    border-color: #6366f1;
}
@media (max-width: 900px) {
    .auth-page .plans {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .auth-page .plan-card {
        max-width: 98vw;
        min-width: 0;
        width: 100%;
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    .auth-page .plan-container {
        padding: 0.5rem !important;
    }
    .auth-page .plan-card {
        padding: 1.2rem 0.7rem;
    }
}
