#registerContainer {
    height: min(100vh, 830px);
    max-width: 1520px;
    background: var(--backgroundColor);
    margin: 0 auto;
    border-radius: var(--borderRadiusLG);
}

@media (max-width: 991px) {
    main {
        flex-direction: column;
        align-items: center;
    }
}

h1 {
    font-size: 2.4rem;
    text-wrap: balance;
}

@media (max-width: 991px) {
    h1 {
        font-size: 1.6rem;
    }
}

h2 {
    font-size: 1rem;
}

.subtitle-text {
    font-size: 1rem;
}

@media (max-width: 991px) {
    .subtitle-text {
        font-size: 0.8rem;
    }
}

.register-step {
    width: 100%;
    display: none !important;
    height: 100% !important; overflow-y: auto;
    padding: 30px;
}

.register-step.show {
    display: flex !important;
}

@media (max-width: 991px) {
    .register-step {
        flex-direction: column;
    }
}

.register-step .left-section,
.register-step .right-section {
    margin: 0 auto;
}

.left-section {
    max-width: 500px;
}

@media (max-width: 991px) {
    .left-section {
        width: 100%;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .left-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.right-section {
    background: #110f1f;
    border-radius: 12px;
    border: 1px solid #201c2f;
    position: relative;
    display: grid;
    grid-template-rows: 1fr 130px;
}

.right-section form {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
}

.custom-input {
    padding: 12px 16px;
    height: 60px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #7a6c8d;
    padding: 8px;
    cursor: pointer;
}

.password-toggle-btn:hover {
    color: white;
}

.footer-form {
    border-top: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    text-wrap: balance;
}

@media (max-width: 991px) {
    .footer-form {
        padding: 16px;
    }
}

.btn-submit {
    background: #a153ff;
    border: none;
    border-radius: 18px;
    padding: 12px 24px;
    color: white;
    margin: 0;
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-back {
    background: #4c1f83;
    border: 1px solid #4c1f83;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 0;
}

.btn-back:hover {
    background: #4c1f83;
    color: white;
}

.text-purple-link {
    color: #9333ea;
    text-decoration: underline;
    font-weight: 500;
}

.text-purple-link:hover {
    color: #a855f7;
}

/* Etapa 1 */
.register-step[data-step="1"] .footer-form {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.register-step[data-step="1"] .footer-form p {
    max-width: none;
    text-align: left;
}

@media (max-width: 991px) {
    .register-step[data-step="1"] .footer-form p {
        text-align: center;
    }
}

/* Etapa 2 */
.select-options {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 12px;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    text-align: start;
}

.select-option {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #07060e;
    border: 1.5px solid #1a1729;
}

.select-option.selected {
    background: #a153ff;
    border-color: #a153ff;
}

.select-option:hover {
    border-color: #2a2a2a;
}

.select-option.selected:hover {
    border-color: #a153ff;
    background: #b366ff;
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    color: white;
    font-size: 0.8rem;
}

.select-option svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    flex-shrink: 0;
}

.radio-indicator {
    background: #000;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.radio-dot {
    width: 10px;
    height: 10px;
    background: #a153ff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.select-option.selected .radio-dot {
    opacity: 1;
    background: white;
}

/* Etapa 3 */
.themes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: #6d33b8 transparent;
}

@media (max-width: 991px) {
    .themes-grid {
        max-height: 240px;
        overflow-y: auto;
    }
}

.theme-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 16px;
    background: #2a1f3d;
    border: 1px solid transparent;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.theme-tag:hover {
    background: #3a2f4d;
    box-shadow: 0 0 12px rgba(161, 83, 255, 0.25);
}

.theme-tag.selected {
    background: #a153ff;
    border-color: #a153ff;
    box-shadow: 0 0 20px rgba(161, 83, 255, 0.5);
}

.theme-tag.selected:hover {
    background: #b366ff;
    border-color: #b366ff;
    box-shadow: 0 0 25px rgba(161, 83, 255, 0.6);
}

.theme-tag span {
    display: block;
    pointer-events: none;
}

@media (max-width: 768px) {
    .theme-tag {
        font-size: 0.8rem;
        padding: 7px 12px;
    }
}

/* Etapa 6 */
.custom-img {
    height: 100%;
    max-height: 420px;
    margin: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
    .custom-img {
        height: auto;
        max-height: none;
        width: 100%;
    }
}

.custom-btn {
    background: #261345 !important;
}

.register-step[data-step="6"] .left-section {
    max-width: 520px;
}


.register-step[data-step="6"] .footer-form {
    padding: 16px;
}

.register-step[data-step="6"] .btn-submit {
    border-radius: 20px;
    padding: 10px 24px;
}

#registerFormStep1,
#registerFormStep2,
#registerFormStep3,
#registerFormStep4,
#registerFormStep5 {
    width: min(100%, 650px);
}

.text-privacy-policy {
    font-size: 1rem;
}

.card-register {
    min-height: 500px;
     /* min-height: 600px; */
}

.btn-previous-step {
    padding: unset !important;
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
}

@media (max-width: 991px) {
    .card-register{
        height:  567px !important;
        max-height: 567px !important;
    }
    .text-privacy-policy {
        font-size: 0.8rem;
    }

    .register-step[data-step="6"] .right-section {
        grid-template-rows: 1fr auto;
    }

    .register-step[data-step="6"] .footer-form {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        text-align: center;
    }

    #registerContainer {
        min-height: 100vh;
        height: fit-content;
    }
    
}


@media (max-width: 768px) {
    .text-privacy-policy {
        font-size: 0.8rem;
    }

    .register-step[data-step="6"] .right-section {
        grid-template-rows: 1fr auto;
    }

    .register-step[data-step="6"] .footer-form {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .register-step {
        padding: 0;
    }

    .text-privacy-policy {
        font-size: 0.6rem;
    }
}