/* Vue style */

[v-cloak] {
    display: none;
}

/* ── Progress bar & Steps ── */

#progress {
    position: relative;
    margin-bottom: 30px;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

#progress-bar {
    position: absolute;
    background: linear-gradient(90deg, #836de4, #4e37b2);
    height: 5px;
    max-width: 95% !important;
    top: 50%;
    left: 2%;
    z-index: 1;
    transition: width 0.4s ease;
}

#progress-num {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

#progress-num::before {
    content: "";
    background-color: #e1e1ec;
    position: absolute;
    top: 50%;
    left: 3%;
    height: 5px;
    width: 90%;
}

#progress-num .step {
    border: 3px solid #e1e1ec;
    border-radius: 100%;
    width: 42px;
    height: 42px;
    line-height: 36px;
    text-align: center;
    background-color: #fff;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

#progress-num .step.active {
    border-color: #6F56DA;
    background-color: #6F56DA;
    color: #fff;
    box-shadow: 0 0 12px rgba(111, 86, 218, 0.4);
}

/* ── Main Container ── */

.main-div {
    margin: 30px;
}

/* ── Plan cards in register ── */

.reg-plan-card {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reg-plan-card:hover {
    transform: translateY(-4px);
}

.reg-plan-card.reg-plan-selected {
    outline: 3px solid #6F56DA;
    box-shadow: 0 10px 30px rgba(111, 86, 218, 0.25);
}

.reg-plan-selected .tg-btn {
    background-color: #6F56DA !important;
    color: #fff !important;
    border-color: #6F56DA !important;
}

/* ── Form inputs & selects ── */

.form-floating .input-register {
    height: 56px;
    font-size: 15px;
    font-weight: 500;
    color: #404248;
    padding: 1.625rem 1rem 0.625rem;
    border: 1px solid #d9dfe5;
    margin-bottom: 1.2rem;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-floating select.input-register {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating .input-register:focus {
    border-color: #6F56DA;
    box-shadow: 0 0 0 3px rgba(111, 86, 218, 0.15);
    outline: none;
}

.form-floating .label-register {
    padding: 1rem 1.2rem;
    font-size: 15px;
    font-weight: 500;
    color: #767982;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
    opacity: .75;
}

/* Keep this long label out of the input's writing area. */
.access-email-field > .label-register {
    max-width: calc(100% - 1.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
    opacity: .75;
}

/* ── Element Plus Select integration ── */

.city-select-container {
    position: relative;
    margin-bottom: 1.2rem;
}

.city-select-container .el-select {
    width: 100%;
    height: 56px;
}

.city-select-container .el-select .el-select__wrapper,
.city-select-container .el-select .el-input__wrapper {
    height: 56px !important;
    min-height: 56px !important;
    border-radius: 8px !important;
    border: 1px solid #d9dfe5 !important;
    box-shadow: none !important;
    padding: 1.3rem 1rem 0 !important; /* space for label */
    background-color: #fff !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.city-select-container .el-select .el-select__wrapper.is-focused,
.city-select-container .el-select .el-select__wrapper:hover,
.city-select-container .el-select .el-input__wrapper.is-focus {
    border-color: #6F56DA !important;
    box-shadow: 0 0 0 3px rgba(111, 86, 218, 0.15) !important;
}

.city-select-container .el-select .el-select__selected-item,
.city-select-container .el-select .el-select__placeholder,
.city-select-container .el-select .el-input__inner {
    font-size: 15px !important;
    color: #404248 !important;
    font-family: inherit !important;
    font-weight: 500 !important;
    height: auto !important;
    line-height: 24px !important;
}

/* Force city select label to always float to avoid overlap */
.city-select-container label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
    opacity: .75;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
}

/* ── Navigation buttons ── */

.advance-buttons-right,
.advance-buttons-left {
    font-size: 1.1rem;
    padding: 8px 24px;
    border-radius: 8px;
    border: 2px solid #6F56DA;
    background: transparent;
    color: #6F56DA;
    font-weight: 600;
    transition: all 0.25s ease;
    cursor: pointer;
}

.advance-buttons-right:hover {
    background: #6F56DA;
    color: #fff;
}

.advance-buttons-left {
    border-color: #767982;
    color: #767982;
}

.advance-buttons-left:hover {
    background: #767982;
    color: #fff;
}

/* ── Misc ── */

.register-button {
    margin-top: 15px;
    margin-bottom: 15px;
}

.liquidation-table {
    font-size: 14px;
    font-weight: 500;
}

.content-table {
    font-weight: normal;
}

.table-cont {
    font-size: 16px;
}

.resumen-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.centered-list {
    text-align: center;
    padding-left: 0;
    list-style-position: inside;
}

.info-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-left: 5px;
}

.form-floating > label.clickable-label {
    pointer-events: initial;
    cursor: pointer;
}

.step-buttons {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ── Responsive ── */

@media (max-width: 991px) {
    #progress {
        max-width: 100%;
    }

    .form-floating .input-register {
        font-size: 1.4rem;
    }

    .table-cont {
        font-size: 11px;
    }

    .main-cont-mobile {
        margin: 0 !important;
    }

    .main-content-mobile {
        padding: 3rem 2rem !important;
    }

    .rows-second-mobile {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .main-div {
        margin: 10px;
    }

    .reg-plan-card {
        flex: 0 1 100% !important;
        max-width: 100% !important;
    }
}
