/* ================================
   IMPORTS
================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

/* ================================
   FORMULARIO MULTIPASO
================================ */
.form-section {
    position: relative;
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 20px;
    width: 724px;
    margin: 51px auto;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
}

.form-container {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 18px 5vw 27px 5vw;
    width: 100%;
    max-width: 724px;
}

.progress-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.step-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 -14px;
}

.step {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #ff7140;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 12px;
    transition: background-color 0.3s ease;
    margin-bottom: 5px;
}

.step.active {
    background-color: #ff7140;
}

.step.completed {
    background-color: #03AB90;
    border-color: #03AB90;
    color: #fff;
}

.step.completed::before {
    content: "✔";
}

.step-label {
    font-size: 12px;
    color: #666;
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: #FF7140;
    margin: 7px 5px;
    max-width: 67px;
    transition: background-color 0.3s ease;
}

.step-line.active {
    background-color: #03AB90;
}

.form-control-custom,
.custom-select {
    font-family: 'roboto', sans-serif;
    height: 33px;
    font-size: 12px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    margin-bottom: 25px;
    width: 100%;
}

.btn-primary-custom,
.btn-enviar,
.btn-secondary,
.btn-secondary-custom {
    width: 100%;
    max-width: 205px;
    height: 36px;
}

.btn-primary-custom,
.btn-enviar {
    color: #FFFFFF;
    background-color: #03AB90;
    border-color: #03AB90;
}

.btn-primary-custom:hover,
.btn-enviar:hover {
    background-color: #008c6f;
    border-color: #008c6f;
}

.btn-secondary,
.btn-secondary-custom {
    color: #192843;
    background-color: #ffffff;
    border: 1px solid #192843;
}

.form-group {
    margin-bottom: 0px;
}

.help-link {
    color: #ff7140;
    text-decoration: none;
}

.help-link:hover {
    text-decoration: underline;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

h2 {
    text-align: center;
}

.required-field {
    color: red;
    font-size: 1rem;
}

/* ================================
   BOTONES TIPO DE USUARIO
================================ */
.user-type-btn {
    width: 100%;
    max-width: 166px;
    aspect-ratio: 1 / 0.7;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 16px;
    margin-bottom: 37px;
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
}

.gap-134 {
    display: flex;
    flex-wrap: wrap;
    column-gap: 134px;
    row-gap: 20px;
    justify-content: center;
}

.user-type-btn .icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.user-type-btn .label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.user-type-btn .dot-indicator {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 8px;
}

.user-type-btn.active .dot-indicator {
    background-color: #28a745;
}

.mt-4 {
    text-align: center;
}

.mt-4 button {
    margin: 0 8px;
}

.custom-control-label {
    font-family: 'roboto', sans-serif;
    font-weight: 300;
    font-size: 12px;
}

.custom-row {
    margin-bottom: 24px;
}

.label-custom {
    font-family: 'poppins', sans-serif;
    font-size: 14px;
}

.small-custom {
    font-family: 'poppins', sans-serif;
    font-size: 12px;
    font-weight: 300;
    margin-bottom: 0;
}

.small-margin {
    margin-bottom: 26px;
}

.custom-a,
.custom-a:hover {
    color: #FF5D00;
    text-decoration: underline;
}

.a-custom-ayuda {
    color: #FF5D00;
    font-family: 'roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

/* ================================
   MODAL LOGIN / REGISTRO
================================ */
.modal-header {
    border-bottom: none;
    padding: 0px;
}

.modal-dialog-custom {
    width: 724px;
    max-width: 724px;
    margin: auto;
}

.logo-image-principal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-content {
    border-radius: 15px;
    border: none;
    padding: 50px 80px;
}

.modal-body {
    padding: 0;
}

.btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
}

.custom-modal-content {
    border-radius: 16px;
    padding: 30px 20px;
    background-color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    width: 740px;
    max-height: 520px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.custom-modal-text {
    margin-bottom: 76px;
    max-width: 634px;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #192843;
}

.modal-icon.success::before {
    content: "✓";
    display: block;
    font-size: 50px;
    color: #03AB90;
    font-weight: bold;
    line-height: 60px;
}

.modal-icon.error i {
    font-size: 48px;
    color: #ff4d4f;
    margin: 60px auto 20px auto;
    display: block;
    text-align: center;
}

.btn-modal-aceptar {
    width: 150px;
    border: 2px solid #00b386;
    background-color: #ffffff;
    color: #00b386;
    padding: 10px 24px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    margin-bottom: 83px;
}

.modal-icon-img {
    width: 64px;
    height: 64px;
    display: block;
    margin: 60px auto 20px auto;
}

/* ================================
   NAVBAR
================================ */
.custom-navbar {
    background-color: white;
    border-bottom: 2px solid #f0f0f0;
}

.chevron-separator {
    color: #6c757d;
    margin: 0 0.5rem;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 30px;
}

.btn-outline-primary {
    color: #03AB90;
    border: 1px solid #03AB90;
    border-radius: 8px;
    padding: 5px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #03AB90;
    color: white;
}

.btn-primary {
    background-color: #FF5D00;
    border: none;
    border-radius: 8px;
    padding: 5px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e14d00;
}

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler-icon {
    width: 25px;
    height: 25px;
}

/* ================================
   REGISTRO
================================ */
.registration-container {
    max-width: 700px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.registration-container h2 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.registration-container label {
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
    display: block;
}

.registration-container input,
.registration-container select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.registration-container button {
    width: 100%;
    padding: 10px;
    background: #03AB90;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.registration-container button:hover {
    background: #028a74;
}

/* ================================
   SECCIÓN SUBASTA / PÁRRAFOS
================================ */
.page-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.title-subasta {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: #00a878;
    margin-bottom: 20px;
    margin-left: 102px;
    margin-top: 28px;
    text-align: left;
}

.description-section {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
    margin-left: 102px;
}

.description-text {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #333;
    max-width: 600px;
}

.list-subasta {
    list-style: none;
    padding: 0;
    margin-left: 107px;
    margin-right: 100px;
}

.list-subasta li,
.custom-p {
    position: relative;
    padding-left: 28px;
    font-size: 22px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #192843;
    margin-left: 17px;
}

.custom-p {
    margin-bottom: 0;
}

.list-subasta li::before {
    content: "•";
    position: absolute;
    left: 5px;
    top: 5px;
    color: #192843;
    font-size: 22px;
    line-height: 1.2;
}

.list-subasta strong {
    font-weight: 700;
    color: #000;
    font-family: 'Poppins', sans-serif;
}

/* ================================
   RESPONSIVE MOBILE / TABLET
================================ */
@media (max-width: 992px) {

    .form-section,
    .form-container {
        width: 100%;
        margin: 20px auto;
        padding: 15px;
        box-shadow: none;
    }

    .progress-steps {
        margin-bottom: 20px;
        gap: 8px;
    }

    .step-label {
        font-size: 10px;
        text-align: center;
    }

    .btn-primary-custom,
    .btn-enviar,
    .btn-secondary,
    .btn-secondary-custom {
        max-width: 100%;
        height: 40px;
        font-size: 14px;
    }

    .gap-134 {
        column-gap: 20px;
        row-gap: 20px;
    }

    .user-type-btn {
        max-width: 45%;
        aspect-ratio: 1 / 1;
    }

    .modal-dialog-custom,
    .custom-modal-content {
        width: 95%;
        max-width: 100%;
        padding: 20px;
    }

    .custom-modal-text {
        margin-bottom: 30px;
        font-size: 14px;
        text-align: center;
    }

    .btn-modal-aceptar {
        margin-bottom: 30px;
        width: 100%;
    }

    .registration-container {
        max-width: 100%;
        padding: 15px;
        border-radius: 8px;
        box-shadow: none;
    }

    .registration-container h2 {
        font-size: 18px;
    }

    .title-subasta {
        font-size: 24px;
        margin-left: 0;
        text-align: center;
    }

    .description-section {
        flex-direction: column;
        margin-left: 0;
        text-align: center;
    }

    .list-subasta {
        margin-left: 0;
        margin-right: 0;
    }

    .list-subasta li {
        font-size: 16px;
        padding-left: 20px;
    }

    .user-type-btn {
        max-width: 40%;
        aspect-ratio: 1 / 0.9;
    }

    .custom-p {
        font-size: 16px;
        line-height: 1.5;
        text-align: left;
        max-width: 95%;
        margin-left: 9px;
    }

    .list-subasta li::before {
        top: -2px;
    }
}

@media (max-width: 576px) {
    .form-section {
        padding: 10px;
    }

    .step {
        width: 14px;
        height: 14px;
        font-size: 10px;
    }

    .user-type-btn {
        max-width: 60%;
        aspect-ratio: 1 / 0.8;
    }

    .title-subasta {
        font-size: 20px;
    }

    .list-subasta li {
        font-size: 14px;
        padding-left: 18px;
    }

    .registration-container {
        width: 95%;
        padding: 15px;
    }

    .registration-container h2 {
        font-size: 18px;
    }

    .registration-container input,
    .registration-container select,
    .registration-container button {
        font-size: 14px;
        padding: 10px;
    }

    .custom-p {
        font-size: 14px;
        line-height: 1.4;
        text-align: left;
        margin-bottom: 6px;
    }

    .list-subasta li::before {
        top: -2px;
    }
}