/* Esconder sidebar e topbar */
.sidebar,
.topbar {
    display: none !important;
}

/* Ajustar o conteúdo principal */
.main-content {
    margin-left: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.register-container {
    min-height: 100vh;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.register-card {
    width: 100%;
    max-width: 520px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.register-header {
    background: linear-gradient(120deg, #1a365d 0%, #2563eb 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.register-header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.register-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-register {
    background: linear-gradient(120deg, #2563eb 0%, #3b82f6 100%);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-register:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.card-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem;
}

.plan-selected-alert {
    background: linear-gradient(120deg, #059669 0%, #10b981 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.plan-selected-alert .alert-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hcaptcha-container {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    min-height: 60px;
}

.hcaptcha-error,
.form-error-inline {
    color: var(--danger, #dc2626);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: center;
}

.form-error-inline {
    display: none;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-bottom: 1rem;
    animation: fadeInError 0.25s ease;
}

.form-error-inline i {
    margin-right: 0.4rem;
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-register:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-register.loading {
    position: relative;
}

.btn-register.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.password-requirements {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.password-requirements .requirement {
    display: flex;
    align-items: center;
    margin: 0.2rem 0;
}

.password-requirements .requirement.valid {
    color: #059669;
}

.password-requirements .requirement.invalid {
    color: #dc2626;
}

.password-requirements .requirement i {
    width: 16px;
    margin-right: 0.5rem;
}

.plan-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 1rem;
    animation: pulse 2s infinite;
    color: white;
}

.plan-badge.monthly {
    background-color: rgba(255, 255, 255, 0.2);
}

.plan-badge.annual {
    background-color: rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}
