﻿body {
    margin: 0px 1px;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

.main-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff7a;
    backdrop-filter: blur(9px);
    color: white;
    padding: 7px;
    border-bottom: 2px solid #869aa6;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    margin: 0 0 0 -14px;
    padding: 8px 0 8px 14px;
    width: 100%;
    display: block;
}

.bt {
    border: 1px solid #ffffff00;
    border-radius: 50px;
    width: 90px;
}

    .bt:hover {
        color: #ffffff;
        background: #6abbe3;
    }

.container {
    display: flex;
    align-items: center;
    width: 100%;
}

.sidebar-toggle {
    background: #869aa6;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.logo {
    height: 57px;
    margin-right: 29px;
}

.navbar-right {
    position: relative;
}

.profile-circle {
    position: relative;
    cursor: pointer;
    left: -15px;
}

.profile-img {
    width: 60px;
    bottom: -6px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #000000;
    position: relative;
}

.profile-dropdown {
    width: 220px;
    color: white;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    position: absolute;
    display: none;
    top: 44px;
    left: 5px;
    background: #133455e8;
    backdrop-filter: blur(9px);
    z-index: 1000;
    border-radius: 20px;
}

    .profile-dropdown.show {
        display: block;
    }

.sidebar {
    width: 250px;
    color: white;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
    background: #133455e8;
    backdrop-filter: blur(9px);
    z-index: 1;
}

    .sidebar.active {
        transform: translateX(0);
    }

.sidebar-menu {
    list-style: none;
    padding: 32px 24px;
    text-align: justify;
    font-family: initial;
    font-size: 20px;
}

    .sidebar-menu li {
        padding: 11px 8px 0px 15px;
    }

    .sidebar-menu .nav-link {
        color: white;
        text-decoration: none;
    }

        .sidebar-menu .nav-link:hover {
            background-color: #60aad5;
            padding: 3px 21px;
            border-radius: 6px;
        }

.close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    right: 15px;
    top: 6px;
    margin-bottom: 11px;
    position: fixed;
}

main {
    flex: 1;
    margin: -11px 25px;
    background: #ffffff;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-right {
        margin-top: 10px;
    }

    .sidebar {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    }

    .logo {
        height: 39px;
        position: relative;
        left: -4px;
        margin: 0px 29px 0 -12px;
    }

    .chever {
        height: 71px !important;
        margin: 0 12px -7px 0;
    }

    .profile-img {
        width: 49px;
        bottom: -2px;
        height: 43px;
    }

    .dashboard {
        width: 139.5% !important;
        margin: -6px -102px !important;
        min-height: 82.9vh !important;
    }

    /*campos para clave*/
    .form {
        display: flex;
        flex-direction: column;
        padding: 10px;
    }

    .user-details {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .input-box {
        width: 100%;
        margin-bottom: 10px;
    }

    .password-requirements {
        margin-top: 20px;
    }

        .password-requirements h4 {
            font-size: 16px;
        }

        .password-requirements ul {
            padding-left: 20px;
        }

        .password-requirements li {
            font-size: 14px;
        }

    /*select*/
    .input-box {
        width: 100%;
        margin-bottom: 10px;
    }

    .from-select {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
        overflow: hidden;
    }
        /* Opcional: Ajusta el tamaño de la lista desplegable */
        .from-select option {
            font-size: 14px;
        }

        .from-select::-ms-expand {
            display: none; /* Oculta la flecha en IE */
        }

    .from-select {
        appearance: none; /* Elimina el estilo por defecto del select */
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="black"><polygon points="0,0 20,0 10,10"/></svg>') no-repeat right 10px center; /* Añade una flecha personalizada */
        background-size: 10px; /* Tamaño de la flecha */
    }

    /*estilos input*/
    .form .user-details .input-des {
        width: calc(100% / 1 - 0px) !important;
        margin-bottom: 5px !important;
    }

    .siguent {
        height: 85% !important;
        width: 50% !important;
    }

    .dsl {
        margin: -64px 0 0 0;
    }

    .sdl {
        margin: 27px 0 -7px 0;
    }

    .search-inline {
        margin: 4px 0 -24px -19px !important;
    }

    .donate {
        margin: 0 -66px !important;
    }

    .card .back {
        width: 91% !important;
        height: 112% !important;
    }


    .botonregreso {
        margin: 32px 0 0 63px !important;
    }

    .botonenviaar {
        margin: -50px 0 0 199px !important;
    }

    .fmr {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: -22px 0 -12px 0 !important;
    }

    .grupoboton {
        height: 45px !important;
        margin: 0 0 0 -25px !important;
        width: 74% !important;
    }

    iframe {
        height: 90px !important;
        width: 111% !important;
        margin: 0 0 0 -13px !important;
    }


    /*estilos de input agregar*/

  
        .input-container {
            padding: 0.5rem; /* Reduce el espaciado interno en pantallas pequeñas */
        }

        .input-group {
            flex-direction: column; /* Asegura que los elementos estén en columna */
        }

        .input-field {
            font-size: 14px; /* Ajusta el tamaño de la fuente para pantallas pequeñas */
        }

        .submit-button {
            font-size: 14px; /* Ajusta el tamaño de la fuente del botón */
        }

    .input-field {
        width: calc(100% / 1 - 29px) !important;
    }

    .dtss {
        margin: 64px 0 -30px 0 !important;
    }

    .tdsp {
        padding: 10px !important;
    }

    .tooltip {
        display: none;
    }

    .chatbot-window {
        right: 9px !important;
        width: 360px !important;
    }
}

.tdsp {
    padding: 10px 0 0 405px;
}

.dtss {
    margin: -117px 0 -30px 0;
}

/* modal */
.modal {
    display: flex; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 22px;
    border: 1px solid #888;
    width: 330px;
    top: 143px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close {
    color: #aaa;
    float: right; 
    font-size: 28px;
    font-weight: bold; 
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none; 
        cursor: pointer; 
    }
.si {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px;
}

.no {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px;
}

.uls {
    list-style: none;
    padding: 30px 0 0 20px;
    text-align: justify;
    font-family: initial;
    font-size: 20px;
}

.lis {
    padding: 10px 0 8px 23px;
}

.lis:hover {
    transition: 1s all;
    color: #ffffff;
    background-color: rgb(134 154 166);
    border-bottom-right-radius: 0 0;
    cursor: pointer;
    width: 100%;
    left: -23px;
    position: relative;
}

/* cajas */

.donate-card {
    box-shadow: var(--card-shadow);
}

    .donate-card .card-banner {
        background-color: var(--light-gray);
    }

    .donate-card .card-content {
        background-color: var(--white);
        padding: 35px;
    }

.progress-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-text {
    display: flex;
    gap: 5px;
    font-size: var(--fs-8);
}

    .progress-text data {
        color: var(--eerie-black-2);
        font-weight: var(--fw-600);
    }

.donate-card .card-title {
    --fs-5: 2.1rem;
}

.progress-box {
    background-color: var(--cultured);
    border-radius: 20px;
    margin-block: 10px 20px;
}

.progress {
    height: 6px;
    width: 83%;
    background-color: var(--pistachio);
    border-radius: inherit;
}

.progress-value {
    color: var(--pistachio);
    font-size: var(--fs-7);
    font-weight: var(--fw-600);
}

.card-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    margin-block: 15px;
}

.donate-card .card-wrapper-text {
    display: flex;
    gap: 5px;
}

    .donate-card .card-wrapper-text span {
        color: var(--sonic-silver);
        font-weight: var(--fw-500);
    }

.card-wrapper-text data {
    font-weight: var(--fw-600);
}

.card-wrapper-text .green {
    color: var(--pistachio);
}

.card-wrapper-text .yellow {
    color: var(--bright-yellow-crayola);
}

.card-wrapper-text .cyan {
    color: var(--medium-turquoise);
}

li {
    list-style: none;
}

.card {
    position: relative;
    width: 350px;
    height: 270px;
    margin: 30px 0 -170px 0;
}
 
    .card .face {
        position: absolute;
        width: 95%;
        height: 74%;
        backface-visibility: hidden;
        border-radius: 10px;
        overflow: hidden;
        transition: .6s;
    }

    .card .front {
        transform: perspective(600px) rotateY(0deg);
        box-shadow: 4px 6px 17px #1c5576;
        display: flex;
        align-items: start;
        padding: 8px;
        width: 95%;
        height: 95%;
    }

        .card .front img {
            width: 10%;
            height: 50%;
            object-fit: cover;
            border-radius: 60px 0 60px 0;
            background: #bbd3e1;
            top: 50px;
            border: 2px solid #00000024;
            position: relative;
        }

        .card .front .info {
            flex: 1;
            display: grid;
            justify-content: start;
        }

            .card .front .info .detalles {
                font-size: 0.9em;
                color: #666;
                margin-bottom: 5px;
                position: relative;
                top: -25px;
            }

            .card .front .info .nombre {
                font-size: 1.2em;
                color: #000000;
                white-space: nowrap;
                overflow: hidden;
                width: 97%;
                text-overflow: ellipsis;
                padding: 0 0 8px 0;
                top: -31px;
                margin: 0;
                position: relative;
            }

        .card .front h3 {
            color: #000000;
            text-align: start;
            font-size: 1.2em;
        }

        .card .front p {
            margin: auto;
            font-size: 1em;
            color: #000000;
            white-space: nowrap;
            overflow: hidden;
            width: 80%;
            text-overflow: ellipsis;
        }

        .card .front .info .detals {
            top: -30px;
            margin: 10px 10px 20px -170px;
            position: relative;
            color: #000;
            font-weight: 600;
        }

    .card .back {
        transform: perspective(600px) rotateY(180deg);
        background: rgb(255, 255, 255);
        padding: 15px;
        color: #000000;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
        box-shadow: 4px 6px 17px #1379b3;
        width: 95%;
        height: 95%;
    }

        .card .back .link {
            border-top: solid 1px #f3f3f3;
            height: 50px;
            line-height: 50px;
        }

            .card .back .link a {
                color: #f3f3f3;
            }

        .card .back h3 {
            margin-top: 20px;
            font-size: 20px;
            letter-spacing: 0px;
            color: #000;
            display: inline-block;
            font-weight: 500;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 100%;
        }

        .card .back p {
            margin: 5px 0 0;
            font-size: 1em;
            color: #666;
            white-space: nowrap;
            overflow: hidden;
            width: 60%;
            text-overflow: ellipsis;
        }

    .card:hover .front {
        transform: perspective(600px) rotateY(180deg);
        -webkit-transform: perspective(600px) rotateY(180deg);
        -moz-transform: perspective(600px) rotateY(180deg);
        -ms-transform: perspective(600px) rotateY(180deg);
        -o-transform: perspective(600px) rotateY(180deg);
    }

    .card:hover .back {
        transform: perspective(600px) rotateY(360deg);
        -webkit-transform: perspective(600px) rotateY(360deg);
        -moz-transform: perspective(600px) rotateY(360deg);
        -ms-transform: perspective(600px) rotateY(360deg);
        -o-transform: perspective(600px) rotateY(360deg);
    }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

    .pagination button {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 10px 15px;
        margin: 0 5px;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .pagination button:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

        .pagination button:hover:not(:disabled) {
            background-color: #0056b3;
        }

    .pagination span {
        font-size: 1rem;
        margin: 0 10px;
    }

.input-box {
    padding: 0;
}

.center-info {
    padding: 0px 20px 0 20px;
    margin: -8px 0 3px 0;
}

    .center-info h2 {
        margin-bottom: 15px;
        font-size: 18px;
        color: #333;
    }

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0px;
    font-size: 0.9em;
}

    .info-item .label {
        font-weight: bold;
        color: #555;
    }

    .info-item p {
        color: #333;
    }

/*.calendar-container {
    margin: 25px 17px -11px 16px;
    background: #fff;
    padding: 10px;
    border-radius: 20px;
}*/
.calendar-container {
    margin: -6px 18px -11px 16px;
    background: #fff;
    padding: 10px;
    border-radius: 20px;
    width: 90%;
}
    .calendar-container h2 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #386083;
    color: #fff;
    text-align: center;
    margin: auto;
    padding: 5px 0;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid #000000;
}

    .calendar-header .day {
        text-transform: uppercase;
    }

.calendar-body {
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin: auto;
    font-weight: bold;
    font-size: 15px;
}

.calendar-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid #ddd;
}

.day-slot {
    text-align: center;
    padding: 10px;
    color: #555;
    border-right: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

    .day-slot:last-child {
        border-right: none;
    }

    .day-slot:hover {
        background-color: #657b8f;
        cursor: pointer;
        color: #fff;
    }

/* Mapa */
.map-container {
    margin: 22px 16px 0 16px;
    border: 1px solid #898989;
    border-radius: 10px;
}

/* Responsividad */
@media (max-width: 768px) {
    .info-container {
        padding: 15px 0 0 0;
    }

    .center-info, .calendar-container, .map-container {
        padding: 0px 15px 0 15px;
    }

    .info-item {
        flex-direction: row;
        align-items: center;
    }

        .info-item .label {
            margin-bottom: 5px;
        }
}

/*modal de calendario*/

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.close-button {
    position: absolute;
    top: auto;
    padding: 0 6px 0 0;
    right: 40px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.donate {
    margin: -40px 0 0 0;
}

/* Contenedor principal de la lista */
.donate-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
    list-style: none;
}   

    /* Estilo para cada tarjeta */
    .donate-list li {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        margin: 0 0 180px -8px;
    }

/* Responsividad */
@media (max-width: 1024px) {
    .donate-list {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas en pantallas medianas */
    }
}

@media (max-width: 768px) {
    .donate-list {
        grid-template-columns: 1fr; /* Una columna en pantallas pequeñas */
    }
    .donate {
        margin: 0;
    }
}

/* Contenedor interno */
.contain {
    max-width: 1200px;
    margin: 0 auto;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

    .pagination button {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        background-color: #007bff;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .pagination button:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

        .pagination button:hover:not(:disabled) {
            background-color: #0056b3;
        }

    .pagination span {
        font-size: 14px;
        color: #333;
    }

/* Estilo de las opciones */
.selectserve option {
    padding: 10px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
    border-bottom: 1px solid #eee;
}

    /* Hover en las opciones (no todos los navegadores lo soportan) */
    .selectserve option:hover {
        background-color: #f1f1f1;
        color: #007bff;
    }

/* Responsividad */
@media (max-width: 768px) {
    .selectserve {
        font-size: 12px;
        padding: 8px;
    }
}

.calentc {
    flex: 1;
    margin-right: 15px;
    padding: 4px;
    height: 40px;
    color: #fff;
    font-size: 0.7em;
    background: #0a4a6f;
    border-radius: 10px;
    border: 2px solid #ffffff;
}
    .calentc:hover {
        background: linear-gradient(-135deg, #869aa6, #0f4c70);
    }

.direct {
    flex: 1;
    margin-right: 1px;
    padding: 6px;
    height: 40px;
    color: #fff;
    font-size: 0.7em;
    background: #0a4a6f;
    border-radius: 10px;
    border: 2px solid #ffffff;
}

    .direct:hover {
        background: linear-gradient(-135deg, #869aa6, #0f4c70);
    }

    /*chat bot*/

.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

    .chatbot-toggle img {
        width: 70px;
        border-radius: 50%;
        transition: transform 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.5);
    }

    .chatbot-toggle:hover img {
        transform: scale(1.1);
    }

.tooltip {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    left: 80%;
    top: 78%;
    font-size: 14px;
    color: #333;
}


.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 70px;
    width: 360px;
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #528ecf;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideIn 0.4s ease;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chatbot-header {
    background: linear-gradient(to right, #869aa6, #133455);
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.chatbot-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f4f7f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    max-width: 90%;
}

    .chat-message.user {
        justify-content: flex-end;
        align-self: flex-end;
    }

    .chat-message.bot {
        justify-content: flex-start;
        align-self: flex-start;
    }

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.message-bubble {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 250px;
    animation: fadeIn 0.4s ease;
    background-color: #e9f0f5;
    font-size: 14px;
}

.user .message-bubble {
    background-color: #d1e7dd;
    color: #000;
}

.bot .message-bubble {
    background-color: #cfe2ff;
    color: #000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.chatbot-footer {
    display: flex;
    padding: 10px;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    align-items: center;
}

    .chatbot-footer input {
        flex-grow: 1;
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 25px;
        font-size: 14px;
        outline: none;
        margin-right: 10px;
    }

    .chatbot-footer button {
        padding: 1px 1px;
        border: none;
        border-radius: 58px;
        background-color: #2c4a66;
        color: white;
        font-size: 14px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .chatbot-footer button:hover {
            background-color: #0056b3;
        }


.chat-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

    .chat-input:focus {
        border-color: #007bff;
    }

.send-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .send-button:hover {
        background: #0056b3;
    }

.save-options {
    margin-top: 10px;
}

    .save-options button {
        margin-right: 10px;
        padding: 6px 12px;
        border-radius: 8px;
        border: none;
        cursor: pointer;
    }

.btn-yes {
    background-color: #28a745;
    color: white;
}

.btn-no {
    background-color: #dc3545;
    color: white;
}

        /*loader*/

.construction-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    background-color: #f0f0f0;
    text-align: center;
}

.h1s {
    font-size: 2.5rem;
    color: #333;
}

.ps {
    font-size: 1.2rem;
    color: #666;
}

.animation {
    margin-top: 20px;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    p {
        font-size: 1em;
    }

    .loader {
        width: 40px;
        height: 40px;
    }
}

/*modal compartir*/

.modal-over {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-contenido {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    opacity: 0;
    animation: popupFade 0.3s forwards;
}

@keyframes popupFade {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-titulo {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.modal-botones {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.boton-whatsapp {
    flex: 1;
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

    .boton-whatsapp:hover {
        background-color: #1ebe5d;
    }

.boton-correo {
    flex: 1;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

    .boton-correo:hover {
        background-color: #0068d1;
    }

.modal-cancelar {
    background: transparent;
    border: none;
    color: #ff4d4d;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.animate-popup {
    animation: fadeInZoom 0.3s ease forwards;
}

@keyframes fadeInZoom {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.pd {
    height: 39%;
    width: 32%;
    border-radius: 10px;
    border: none;
    color: #fff;
    display: flex;
    padding: 8px;
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(146deg, #869aa6, #0f4c70);
}

    .pd:hover {
        background: linear-gradient(146deg, #0f4c70, #869aa6);
    }


.resultado-ver {
    padding: 10px;
    transition: background-color 0.3s;
}

    .resultado-ver:hover {
        background-color: #f0f0f0; /* Cambia el color de fondo al pasar el mouse */
        border-radius: 5px; /* Bordes redondeados */
    }

    .resultado-ver:first-child {
        margin-right: auto; /* Espacio entre los botones */
    }



/*modal de rayos x */

.radiografia-container {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border-left: 6px solid #4A90E2;
}

.titulo-rayosx {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.descripcion-rayosx {
    font-size: 1rem;
    color: #444;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

    .descripcion-rayosx strong {
        color: #000;
        font-weight: 600;
    }

    .descripcion-rayosx em {
        font-style: italic;
        color: #2c3e50;
    }

.advertencia-rayosx {
    background-color: #fff3cd;
    color: #856404;
    padding: 0.75rem 1rem;
    border-left: 5px solid #ffc107;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 1rem;
}

.radiografia-container {
    background-color: #f4faff;
    border: 2px solid #d0e6f9;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    margin: 30px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', sans-serif;
}

.titulo {
    color: #22577A;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.descripcion {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.input-filess {
    width: 91% !important;
    padding: 9px;
    font-size: 0.95rem;
    border-radius: 10px;
    border: 1px solid #ccc !important;
    margin: 0 !important;
    background-color: #38a3a5;
    color: #fff;
}

.mensaje-error {
    color: red;
    font-size: 0.85rem;
    margin-top: 8px;
}

.btn-enviar {
    background-color: #38a3a5;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-enviar:hover {
        background-color: #2c8e8f;
    }



@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}




.icobut {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

    .icobut .rz-upload {
        display: none;
    }

    .icobut::before {
        content: '';
        display: inline-block;
        width: 24px;
        height: 24px;
        background-image: url('ruta/a/tu/icono.png');
        background-size: cover;
    }



    /*reembolso*/
.info-link {
    background-color: #007bff; /* Color de fondo azul */
    color: white; /* Color del texto */
    text-decoration: none; /* Sin subrayado */
    border-radius: 5px; /* Bordes redondeados */
    padding: 10px 15px; /* Espaciado interno */
    display: inline-flex; /* Usar flexbox para centrar icono y texto */
    align-items: center; /* Centrar verticalmente */
    transition: background-color 0.3s ease; /* Transición suave */
    margin-top: 10px; /* Espacio superior */
}

    .info-link:hover {
        background-color: #0056b3; /* Color de fondo al pasar el mouse */
    }

.link-icon {
    margin-right: 5px; /* Espacio a la derecha del icono */
}

.upload-instructions {
    background-color: #ffffff; /* Fondo blanco para el mensaje */
    border: 1px solid #e0e0e0; /* Borde sutil */
    border-radius: 5px; /* Bordes redondeados */
    padding: 15px; /* Espaciado interno */
    margin-top: 15px; /* Margen superior */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    font-size: 0.9rem; /* Tamaño de fuente */
    position: relative; /* Para posicionar el botón de cierre */
    z-index: 10; /* Asegurarse de que esté por encima de la superposición */
}

.close-button {
    background: none; /* Sin fondo */
    border: none; /* Sin borde */
    color: #ff0000; /* Color rojo para la "X" */
    font-size: 1.5rem; /* Tamaño de fuente */
    position: absolute; /* Posicionamiento absoluto */
    top: 10px; /* Espacio desde la parte superior */
    right: 10px; /* Espacio desde la derecha */
    cursor: pointer; /* Cursor de puntero */
}

.overlay {
    position: fixed; /* Fijo para cubrir toda la pantalla */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fondo oscuro semi-transparente */
    z-index: 5; /* Detrás del mensaje */
}





.download-link {
    display: inline-block;
    background-color: #4caf50;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .download-link:hover {
        background-color: #45a049;
    }


.tooltip-icon {
    margin-left: 8px;
    cursor: help;
    font-size: 1rem;
    vertical-align: middle;
    color: #1976d2;
}
/* Encabezado */
.header-section {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.btn-download {
    background-color: #4CAF50;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .btn-download:hover {
        background-color: #43a047;
    }

/* Contenedor de la sección de carga y lista */
.document-upload-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Caja izquierda: lista de documentos */
.document-list-box {
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1rem;
}

.box-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.doc-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

    .doc-item input[type="checkbox"] {
        margin-right: 0.6rem;
        width: 18px;
        height: 18px;
    }

/* Caja derecha: carga de archivos */
.upload-box {
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1rem;
}

.modern-card {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
    background-color: #fff;
}

/* Título */
.upload-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

/* Estilo del upload */
.modern-upload {
    width: 100% !important;
    border: 2px dashed #6c757d !important;
    margin: auto !important;
    border-radius: 12px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

    .modern-upload:hover {
        background-color: #f1f1f1;
        border-color: #3f51b5;
    }

/* Botón */
.modern-button {
    margin-top: 1.5rem;
    background-color: #30749b;
    color: #ffffff;
    border-radius: 8px;
    border: none;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

    .modern-button:hover {
        background-color: #0957a5;
    }

/* Consola moderna */
.modern-console {
    margin-top: 2rem;
    background-color: #212121;
    color: #e0e0e0;
    padding: 1rem;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}
/* Contenedor de archivo individual */
.rz-fileupload-row {
    font-weight: 500;
    display: flex;
    background-color: #f5f5f5;
    padding: 0.6rem 1rem;
    margin-top: 0.5rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #000;
}

.rz-upload-list-item:hover {
    background-color: #ececec;
}

/* Nombre del archivo */
.rz-upload-list-item > span {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 1rem;
    color: #333;
    font-weight: 500;
}


/* Botón Delete */
.rz-fileupload-row .rz-button {
    background-color: #a8aaab; /* Color de fondo */
    border: none; /* Sin borde */
    height: 25px; /* Altura del botón */
    width: 25px; /* Ancho del botón */
    color: transparent; /* Hacer el texto invisible */
    cursor: pointer; /* Cursor de puntero */
    padding: 0; /* Sin padding para que la "X" esté centrada */
    display: flex; /* Usar flexbox para centrar el contenido */
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    border-radius: 10px; /* Bordes redondeados */
    position: relative; /* Para posicionar los pseudoelementos */
    transition: background-color 0.2s ease; /* Transiciones suaves */
}

    .rz-fileupload-row .rz-button::before,
    .rz-fileupload-row .rz-button::after {
        content: ''; /* Necesario para mostrar el pseudoelemento */
        position: absolute; /* Posicionamiento absoluto */
        width: 2px; /* Grosor de la línea */
        height: 15px; /* Longitud de la línea */
        background-color: #000; /* Color de la "X" */
    }

    .rz-fileupload-row .rz-button::before {
        transform: rotate(45deg); /* Rotar para formar una diagonal */
    }

    .rz-fileupload-row .rz-button::after {
        transform: rotate(-45deg); /* Rotar en la dirección opuesta */
    }

    .rz-fileupload-row .rz-button:hover {
        background-color: #95c3eb; /* Color de fondo al pasar el mouse */
    }






.file-preview {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-green, .btn-blue {
    padding: 0.75rem 1.25rem;
    font-weight: bold;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-green {
    background-color: #10b981;
    color: white;
}

.btn-blue {
    background-color: #3b82f6;
    color: white;
}

.soportes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.preview-icon {
    margin-top: 0.5rem;
}
/* Botones */
.btn-blue {
    background-color: #2563eb;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}

    .btn-blue:hover {
        background-color: #1d4ed8;
    }

.btn-green {
    background-color: #16a34a;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}

    .btn-green:hover {
        background-color: #15803d;
    }

/* Secciones */
.form-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

/* Grupos de formulario */
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

/* Etiquetas */
.form-label {
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

/* Inputs */
.file-input {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.5rem;
    font-size: 0.9rem;
    margin: 4px 0 0 -35px;
    width: 100%;
    background-color: #f9fafb;
}

/* Errores */
.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Alertas */
.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    padding: 1rem;
    border-radius: 0.5rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 0.5rem;
}

/* Imágenes cargadas */
.preview-image {
    max-width: 100%;
    height: auto;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}



/* Contenedor principal */
.reembolso-wrapper {
    max-width: 768px;
    margin: 0 auto;
    padding: 24px;
    font-family: 'Segoe UI', sans-serif;
}

    /* Título principal */
    .reembolso-wrapper h2 {
        font-size: 28px;
        font-weight: bold;
        color: #2d3748;
        text-align: center;
        margin-bottom: 24px;
    }

/* Alerta informativa */
.alert-info {
    background-color: #e6f0ff;
    color: #003366;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

/* Etiquetas */
.reembolso-wrapper label {
    display: block;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

/* Select */
.reembolso-wrapper select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 16px;
    transition: border-color 0.3s ease;
}

    .reembolso-wrapper select:focus {
        border-color: #3182ce;
        outline: none;
    }

/* Botones generales */
.btn {
    display: inline-block;
    padding: 10px 16px;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

/* Botón verde */
.btn-green {
    background-color: #28a745;
}

    .btn-green:hover {
        background-color: #218838;
    }

/* Botón azul */
.btn-blue {
    background-color: #007bff;
    margin-top: 16px;
}

    .btn-blue:hover {
        background-color: #0056b3;
    }

/* Archivos y entradas */
input[type="file"] {
    margin-top: 6px;
    margin-bottom: 8px;
}

/* Texto de error */
.error-text {
    color: #d93025;
    font-size: 14px;
    margin-top: 4px;
}

/* Alerta de advertencia */
.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Alerta de éxito */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 14px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Subtítulo */
.reembolso-wrapper h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-green {
    background-color: #16a34a;
    color: white;
}

    .btn-green:hover {
        background-color: #15803d;
    }

.btn-blue {
    background-color: #2563eb;
    color: white;
}

    .btn-blue:hover {
        background-color: #1d4ed8;
    }

/* Alertas */
.alert-danger {
    background-color: #fef3c7;
    color: #92400e;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #fcd34d;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #10b981;
}

/* Estilo para inputs de archivos */
.input-file-wrapper {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: border-color 0.2s ease-in-out;
}

    .input-file-wrapper:hover {
        border-color: #3b82f6;
    }

/* Botones */
.btn-blue, .btn-green {
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
    color: white;
    display: inline-block;
}

.btn-blue {
    background-color: #2563eb;
}

    .btn-blue:hover {
        background-color: #1d4ed8;
    }

.btn-green {
    background-color: #16a34a;
}

    .btn-green:hover {
        background-color: #15803d;
    }

/* Formulario */
.form-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.file-input {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.5rem;
    font-size: 0.9rem;
    background-color: #f9fafb;
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Alertas */
.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    padding: 1rem;
    border-radius: 0.5rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 0.5rem;
}

/* Vista previa */
.preview-image {
    max-width: 100%;
    height: auto;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.preview-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

    .preview-icon .fas {
        font-size: 1.5rem;
        color: #6b7280;
    }




@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    .form-actions {
        text-align: center !important;
    }

    .form-controls {
        padding: 10px !important;
        border-radius: 8px !important;
        border: 1px solid #bdc3c7 !important;
        font-size: 1rem !important;
        transition: border-color 0.3s ease !important;
        width: 238px !important;
        margin: -15px 0 0 -28px !important;
    }

    .upload-control {
        width: 117% !important;
    }

}

@media (max-width: 600px) {
    .mis-servicios-nombre {
        font-size: 1rem;
    }
}

/* Animación de campana */
@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    40% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-10deg);
    }

    80% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}