/* =========================================================
   BOLSIPEL - LIBRO DE RECLAMACIONES
========================================================= */

.bp-reclamaciones,
.bp-reclamaciones * {
    box-sizing: border-box;
}


.bp-reclamaciones {
    width: 100%;

    background: #ffffff;

    color: #333333;

    font-family:
        'PT Sans Narrow',
        Arial,
        sans-serif;
}


.bp-reclamaciones__wrapper {
    width: min(900px, calc(100% - 40px));

    margin: 50px auto 90px;
}


/* =========================================================
   EMPRESA
========================================================= */

.bp-reclamaciones__header {
    margin-bottom: 22px;

    text-align: center;
}


.bp-reclamaciones__company {
    margin: 0;

    color: #171717;

    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
}


.bp-reclamaciones__ruc {
    margin: 5px 0 0;

    color: #666666;

    font-size: 14px;
}


/* =========================================================
   FECHA
========================================================= */

.bp-reclamaciones__date {
    margin-bottom: 30px;

    padding: 15px 20px;

    border-radius: 8px;

    background: #F8F8F8;

    color: #555555;

    font-size: 14px;
}


/* =========================================================
   TÍTULOS
========================================================= */

.bp-reclamaciones__titles {
    margin-bottom: 42px;

    text-align: center;
}


.bp-reclamaciones__title {
    margin: 0 0 6px;

    color: #F14794;

    font-size: 38px;
    line-height: 1.1;
    font-weight: 700;
}


.bp-reclamaciones__subtitle {
    margin: 0;

    color: #6B7280;

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   SECCIONES
========================================================= */

.bp-reclamaciones__section {
    min-width: 0;

    margin: 0 0 45px;

    padding: 0;

    border: 0;
}


.bp-reclamaciones__section-title {
    display: block;

    width: 100%;

    margin: 0 0 25px;

    padding: 22px 0 0;

    border-top: 1px solid #E5E7EB;

    color: #171717;

    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}


.bp-reclamaciones__subsection-title {
    margin: 0 0 22px;

    color: #171717;

    font-size: 17px;
    font-weight: 700;
}


/* =========================================================
   GRID
========================================================= */

.bp-reclamaciones__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0 20px;
}


.bp-reclamaciones__field {
    margin-bottom: 20px;
}


/* =========================================================
   LABELS
========================================================= */

.bp-reclamaciones__field > label {
    display: block;

    margin-bottom: 8px;

    color: #4B5563;

    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}


/* =========================================================
   INPUTS
========================================================= */

.bp-reclamaciones__field input,
.bp-reclamaciones__field select,
.bp-reclamaciones__field textarea {

    width: 100%;

    min-height: 44px;

    margin: 0;

    padding: 11px 14px;

    border: 1px solid #D1D5DB;

    border-radius: 7px;

    outline: none;

    background: #ffffff;

    color: #374151;

    font-family: inherit;

    font-size: 14px;
    line-height: 1.4;

    box-shadow: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.bp-reclamaciones__field textarea {
    min-height: 90px;

    resize: vertical;
}


.bp-reclamaciones__field input:hover,
.bp-reclamaciones__field select:hover,
.bp-reclamaciones__field textarea:hover {
    border-color: #A1A1AA;
}


.bp-reclamaciones__field input:focus,
.bp-reclamaciones__field select:focus,
.bp-reclamaciones__field textarea:focus {
    border-color: #F14794;

    box-shadow:
        0 0 0 3px rgba(241, 71, 148, .14);
}


.bp-reclamaciones__field select:disabled {
    background: #F3F4F6;

    color: #9CA3AF;

    cursor: not-allowed;
}


/* =========================================================
   MONTO
========================================================= */

.bp-reclamaciones__money {
    position: relative;
}


.bp-reclamaciones__money > span {
    position: absolute;

    top: 50%;
    left: 14px;

    z-index: 2;

    transform: translateY(-50%);

    color: #374151;

    font-size: 14px;
    font-weight: 700;

    pointer-events: none;
}


.bp-reclamaciones__money input {
    padding-left: 38px;
}


/* =========================================================
   CHECKBOX / RADIOS
========================================================= */

.bp-reclamaciones__check {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin: 4px 0 22px;

    color: #374151;

    font-size: 14px;
    line-height: 1.45;

    cursor: pointer;
}


.bp-reclamaciones__check input {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin: 2px 0 0;

    accent-color: #F14794;

    cursor: pointer;
}


.bp-reclamaciones__radios {
    display: flex;

    align-items: center;

    gap: 30px;

    margin-bottom: 18px;
}


.bp-reclamaciones__radios label {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #374151;

    font-size: 14px;

    cursor: pointer;
}


.bp-reclamaciones__radios input {
    width: 18px;
    height: 18px;

    margin: 0;

    accent-color: #F14794;
}


/* =========================================================
   APODERADO
========================================================= */

.bp-reclamaciones__apoderado[hidden] {
    display: none;
}


.bp-reclamaciones__divider {
    width: 100%;

    margin: 28px 0;

    border-top: 1px dashed #D1D5DB;
}


/* =========================================================
   HINT
========================================================= */

.bp-reclamaciones__hint {
    margin: 5px 0 25px;

    padding: 15px 20px;

    border-left: 4px solid #F14794;

    border-radius: 7px;

    background: #F8F8F8;

    color: #374151;

    font-size: 14px;
    line-height: 1.45;
}


/* =========================================================
   ARCHIVOS
========================================================= */

.bp-reclamaciones__files {
    margin: 20px 0 25px;
}


.bp-reclamaciones__file-box {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 145px;

    padding: 25px;

    border: 1px dashed #D1D5DB;

    border-radius: 10px;

    background: #FDFDFD;

    color: #F14794;

    text-align: center;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background-color .2s ease;
}


.bp-reclamaciones__file-box:hover {
    border-color: #F14794;

    background: #FFF5FA;
}


.bp-reclamaciones__file-box strong {
    margin-top: 9px;

    color: #F14794;

    font-size: 16px;
}


.bp-reclamaciones__file-box span {
    margin-top: 4px;

    color: #9CA3AF;

    font-size: 12px;
    line-height: 1.4;
}


/* LISTA */

.bp-reclamaciones__file-list {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 15px;
}


.bp-reclamaciones__file-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;

    padding: 12px 15px;

    border: 1px solid #E5E7EB;

    border-radius: 8px;

    background: #F8F8F8;
}


.bp-reclamaciones__file-info {
    display: flex;

    flex: 1;

    min-width: 0;

    flex-direction: column;
}


.bp-reclamaciones__file-name {
    color: #374151;

    font-size: 14px;
    font-weight: 600;

    overflow-wrap: anywhere;
}


.bp-reclamaciones__file-meta {
    margin-top: 3px;

    color: #9CA3AF;

    font-size: 12px;
}


.bp-reclamaciones__file-delete {
    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    margin: 0;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: transparent;

    color: #6B7280;

    cursor: pointer;
}


.bp-reclamaciones__file-delete:hover {
    background: #FEE2E2;

    color: #DC2626;
}


/* =========================================================
   ERROR
========================================================= */

.bp-reclamaciones__error {
    display: block;

    margin-top: 6px;

    color: #DC2626;

    font-size: 12px;
    line-height: 1.3;
}


.bp-reclamaciones__field .is-error {
    border-color: #DC2626;
}


.bp-reclamaciones__field .is-error:focus {
    border-color: #DC2626;

    box-shadow:
        0 0 0 3px rgba(220, 38, 38, .12);
}


/* =========================================================
   CONFORMIDAD
========================================================= */

.bp-reclamaciones__conformidad {
    margin-top: 25px;
}


.bp-reclamaciones__legal {
    margin: 20px 0;

    color: #666666;

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   SUBMIT
========================================================= */

.bp-reclamaciones__submit {
    width: 100%;

    min-height: 50px;

    margin: 0;

    padding: 14px 20px;

    border: 0;

    border-radius: 8px;

    background: #D1D5DB;

    color: #ffffff;

    font-family: inherit;

    font-size: 16px;
    font-weight: 700;

    cursor: not-allowed;

    transition:
        background-color .2s ease,
        transform .1s ease;
}


.bp-reclamaciones__submit.is-ready {
    background: #F14794;

    cursor: pointer;
}


.bp-reclamaciones__submit.is-ready:hover {
    background: #D8357F;
}


.bp-reclamaciones__submit.is-ready:active {
    transform: scale(.99);
}


/* =========================================================
   SUCCESS
========================================================= */

.bp-reclamaciones__success[hidden] {
    display: none;
}


.bp-reclamaciones__success {
    padding: 55px 30px;

    border: 1px solid #F6BED7;

    border-radius: 13px;

    background: #FFF5FA;

    text-align: center;
}


.bp-reclamaciones__success-icon {
    display: block;

    margin: 0 auto 20px;

    color: #F14794;
}


.bp-reclamaciones__success h2 {
    margin: 0 0 15px;

    color: #F14794;

    font-size: 28px;
    line-height: 1.2;
}


.bp-reclamaciones__success p {
    max-width: 610px;

    margin: 0 auto 12px;

    color: #374151;

    font-size: 16px;
    line-height: 1.55;
}


.bp-reclamaciones__success-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 200px;

    min-height: 44px;

    margin-top: 22px;

    padding: 10px 22px;

    border-radius: 7px;

    background: #F14794;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;
}


.bp-reclamaciones__success-button:hover {
    background: #D8357F;

    color: #ffffff;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .bp-reclamaciones__wrapper {
        width: calc(100% - 30px);

        margin: 30px auto 60px;
    }


    .bp-reclamaciones__title {
        font-size: 30px;
    }


    .bp-reclamaciones__subtitle {
        font-size: 13px;
    }


    .bp-reclamaciones__section-title {
        font-size: 18px;
    }


    .bp-reclamaciones__grid {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .bp-reclamaciones__radios {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }


    .bp-reclamaciones__file-box {
        min-height: 130px;

        padding: 20px 15px;
    }


    .bp-reclamaciones__success {
        padding: 40px 20px;
    }


    .bp-reclamaciones__success h2 {
        font-size: 24px;
    }

}