﻿body {
    font-family: Rubik, Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1.5em;
}

.pandora-button {
    font-weight: bold;
}

.container-grid {
    display: grid;
    grid-template-columns: auto, auto;
    grid-template-rows: 150px 130px;
    padding: 0;
    margin: 0;
}

.banner {
    grid-column: span 2;
    min-height: 30vh;
    background-size: cover;
}

    .banner img {
        width: 100%;
        height: 100%;
        background-size: cover;
        object-fit: contain;
    }

p {
    font-family: Rubik, Arial, sans-serif;
    color: #706262
}

.information {
    grid-column: span 2;
    max-height: 10vh;
    max-width: 68vw;
    justify-self: center;
}

    .information p {
        padding-top: 40px;
    }

.transaccional {
    grid-column: span 2;
    display: grid;
    gap: 0;
    grid-template-columns: auto auto;
    grid-template-rows: 1fr;
    justify-content: center;
    justify-items: center;
    width: 100%
}

.side-l, .side-r {
    padding: 20px;
}

    .side-l .card-item-container-img-autoservicio, .side-r .card-item-container-img-autoservicio {
        padding-right: 50px;
    }


.goback {
    display: grid;
    grid-template-columns: 100vw;
    grid-template-rows: 150px;
}

    .goback .pandora-button {
        display: flex;
        HEIGHT: 40px;
        align-items: center;
        align-self: baseline;
        justify-self: center;
    }

.card-item-container-autoservicio {
    text-align: center;
    box-shadow: -5px 5px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    width: 380px;
    font-size: 1.2em;
}

.nostyle {
    border: none;
    background-color: transparent;
}


/*NUEVOS COMPONENTES*/
span {
    font-family: Rubik, Arial, sans-serif;
    font-size: 1.5em;
    color: #706262
}

.custom-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    word-break: break-all;
    text-align: center;
    position: relative;
}

    .custom-button img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .custom-button span {
        flex-grow: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
        font-family: Rubik, Arial, sans-serif;
    }

.component-card-button {
    background-color: white;
    width: 380px;
    height: 70px;
    border-radius: 10px;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.3);
    border: solid 1px darkgrey;
    margin: 10px;
}

.border-red {
    border: 2px solid #ff9494;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}
@media (max-width: 412px) {
    .container-grid {
        grid-template-rows: 160px 130px;
    }

    .banner, .information, .transaccional, .goback {
        grid-column: span 1;
        height: auto;
    }

    .banner {
        min-height: 15vh;
    }

        .banner img {
            height: auto;
        }

    .information {
        max-width: 90vw;
        justify-self: normal;
        margin-left: 5vw;
    }

        .information p {
            padding-top: 0;
            font-size: 0.9em;
        }

    .transaccional {
        height: 180px;
        grid-template-columns: auto;
    }

    .side-l, .side-r {
        padding: 0;
    }

    .goback .pandora-button {
        bottom: 10px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-self: center;
    }

    .footer {
        display: contents;
    }
}


@media (max-width: 360px) {

    .container-grid {
        grid-template-rows: 170px 130px;
    }

    .information {
        max-width: 90vw;
        justify-self: normal;
    }

    .goback .pandora-button {
        bottom: 10px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-self: center;
    }

    .footer {
        display: contents;
    }

    .component-card-button {
        margin: 0;
        width: 345px;
    }

}

/*Consulta Aportante*/

.form-search {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto 17% 18% 19% 18% auto;
    grid-template-rows: 70px 70px 130px;
    gap: 10px;
    height: 50px;
    align-self: baseline;
    align-items: end;
}
.labeltext {
    color: #706262;
}

.description {
    grid-column: span 6;
    height: 70px;
    width: 75%;
    justify-items: flex-start;
    justify-self: center;
    align-content: end;
}

.element-1, .element-2, .element-3, .element-0 {
    width: 100%;
    font-size: 14px;
}

.element-1 .pandora-select-custom-label {
    display: none;
}
.captcha-btn {
    grid-column: span 6;
   
    grid-template-columns: 1fr;
    grid-template-rows: 200px 100px;
}

.search-btn {
    grid-column: span 6;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 80px;
    justify-self: center;
    align-items: center;
    gap: 50px;
}

#btn-search:disabled {
    opacity:0.5;
}

.border-red {
    border: 2px solid #ff9494;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    display: none; 
    z-index:10;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 1000px;
}

.form-container {
    display: grid;
    grid-template-rows: repeat(6, auto);
    gap: 15px;
}

.row-1 {
    grid-column: span 1;
    height: 100px;
    margin-bottom: 25px;
    margin-top: 30px;
}

.row-2,
.row-3 {
    display: grid;
    grid-template-columns: 50% 30% 10%;
    gap: 10px;
    /* grid-template-columns: 50% 50%; */
}
/*Crear Aportante   = ca*/
.ca-r2-c1,
.ca-r2-c2,
.ca-r2-c3,
.ca-r3-c2 {
    display: flex;
    flex-direction: row;
    margin-top: auto;
    height: 100%;
}
.ca-r2-c3 {
    display:none;
}

    .ca-r4-c1 {
        display: flex;
        flex-direction: row;
        margin-top: auto;
        height: 100%;
    }

.row-4 {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 10px;
}

.row-5 {
    display: grid;
    grid-template-columns: 20% 60% 20%;
    gap: 10px;
}

.row-6 {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.input-val {
    width: 200px;
}

.input-label {
    width: 250px;
}

.input-label-short {
    width: 125px;
}

.ca-r2-c1 .pandora-select-custom-container .pandora-select-custom-label {
    display: none;
}