/* Estilos para el campo de devolución */
#divSinLogin {
    background-color: #F4EFEF;
}

.devoluciones-page {
    display: flex;
    padding: 80px 0;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    background-color: #ffffff;
}

.devoluciones-wrapper {
    display: flex;
    width: 700px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.devoluciones-title {
    color: #191919;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.devoluciones-subtitle {
    color: #191919;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    max-width: 480px;
}

.devoluciones-description {
    color: #191919;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}

.devoluciones-form {
    width: 100%;
}

.devoluciones-form-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
}

.devoluciones-input-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tracking-error {
    margin-top: 4px;
    color: #F03131;
    font-size: 14px;
    font-weight: 400;
}

.tracking-help-container {
    margin-top: 4px;
    position: relative;
    display: inline-block;
}

.tracking-help-link {
    color: #152663;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.tracking-help-image {
    display: none;
    position: absolute;
    top: 24px;
    z-index: 1000;
    margin-top: 8px;
}

.tracking-help-image.is-visible {
    display: block;
}

.devoluciones-submit-btn {
    display: flex;
    height: 44px;
    justify-content: center;
    align-items: center;
    border-radius: 800px;
    border: 2px solid #FFCE00;
    background: #FFCE00;
    color: #152663;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    width: 122px;
}

.devolucion-field__input {
    width: 100%;
    height: 46px;
    min-height: 46px;
    padding: 10px 13px;
    color: #191919;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: none;
    outline: none;
}

.devolucion-field__input:focus,
.devolucion-field__input:focus-visible,
.devolucion-field__input:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: #D9D9D9;
}

.devolucion-field__label {
    position: absolute;
    top: 11px;
    left: 8px;
    color: #212529bf;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    pointer-events: none;
    transition: top 0.2s ease-out, left 0.2s ease-out, font-size 0.2s ease-out, color 0.2s ease-out;
    background-color: #FFFFFF;
    padding: 0 6px;
    margin: 0;
    z-index: 2;
}

.devolucion-field {
    position: relative;
}

.devolucion-field__input:focus+.devolucion-field__label,
.devolucion-field__input:not(:placeholder-shown)+.devolucion-field__label {
    top: -8px;
    left: 8px;
    font-size: 14px;
    line-height: 14px;
}

.devolucion-field.error .devolucion-field__input {
    border: 1px solid #F03131;
    color: #191919;
}

.devolucion-field.error .devolucion-field__label {
    color: #F03131 !important;
}

/* Si hay error pero el input está vacío, el label queda gris */
.devolucion-field.error .devolucion-field__input:placeholder-shown+.devolucion-field__label {
    color: #212529bf !important;
}

@media only screen and (max-width: 768px) {
    .devoluciones-page {
        padding: 48px 16px;
        align-items: flex-start;
    }

    .devoluciones-wrapper {
        width: 100%;
        max-width: 420px;
        gap: 20px;
    }

    .devoluciones-title {
        font-size: 22px;
        line-height: 27px;
    }

    .devoluciones-subtitle {
        font-size: 18px;
        line-height: 24px;
        max-width: 100%;
    }

    .devoluciones-description {
        font-size: 15px;
        line-height: 21px;
        max-width: 100%;
    }

    .devoluciones-form-row {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .devoluciones-input-column {
        width: 100%;
    }

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

    .tracking-help-image {
        position: static;
    }

    .tracking-help-image__img {
        width: 100%;
        max-width: 320px;
        height: auto;
    }
}