.register-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
    background:
        radial-gradient(circle at top right, rgba(75, 30, 77, 0.12), transparent 25%),
        radial-gradient(circle at bottom left, rgba(106, 27, 154, 0.10), transparent 30%),
        linear-gradient(180deg, #fbf7fc 0%, #f3edf7 100%);
}

.acesso-container {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(75, 30, 77, 0.08);
}

.acesso-header {
    text-align: center;
    margin-bottom: 2rem;
}

.acesso-header h1 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.acesso-header p {
    color: var(--text-light);
}

.logo {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    gap: 0.5rem;
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 700;
}

.step.active .step-number {
    background: var(--primary-color);
}

.step.completed .step-number {
    background: var(--success-color);
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.codigo-input {
    text-align: center;
    font-size: 2rem;
    letter-spacing: 0.5rem;
    font-weight: 700;
    width: 100%;
}

.info-dev {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-dev strong {
    color: #856404;
}

.info-dev-code {
    font-size: 1.5rem;
}

.register-submit-btn {
    width: 100%;
}

.register-submit-spaced {
    margin-bottom: 1rem;
}

.register-links {
    text-align: center;
    margin-top: 1.5rem;
}

.register-link-primary {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.register-link-primary:hover,
.register-link-primary:focus-visible {
    text-decoration: underline;
}

.register-link-muted {
    color: var(--text-light);
    text-decoration: none;
}

.register-link-muted:hover,
.register-link-muted:focus-visible {
    text-decoration: underline;
}

.register-alert-info,
.register-alert-tip {
    font-size: 0.9rem;
}

.register-resend-status {
    margin: 0 0 12px 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f6f1fb;
    color: #4b1e4d;
    font-size: 0.85rem;
    line-height: 1.35;
    border: 1px solid rgba(75, 30, 77, 0.15);
}

.register-hidden-form {
    display: none;
}

.register-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-modal {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    max-width: 320px;
    width: 90%;
}

.register-modal-title {
    margin: 0 0 8px 0;
    color: #4b1e4d;
}

.register-modal-text {
    margin: 0 0 14px 0;
    color: #444;
}

.register-modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.register-modal-cancel {
    border: none;
    background: #efefef;
    padding: 8px 12px;
    border-radius: 8px;
}

.register-modal-confirm {
    border: none;
    background: #4b1e4d;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
}

@media (max-width: 480px) {
    .acesso-container {
        padding: 1.5rem;
    }

    .step-label {
        font-size: 0.75rem;
    }
}
