﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 10px;
}

a {
    text-decoration: none;
    color: unset;
}

.containerLogin {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2vw;
    box-sizing: border-box;
    position: relative;
}
.form-box-body label.form-label {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0px !important;
}

.form-box-body .form-control {
    font-size: 1.2rem; 
    padding: 0.5rem 1rem; 
    border-radius: 0.5rem; 
}


.form-box-background {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    position: absolute;
}

    .form-box-background.login img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: cover;
        display: flex;
    }

.form-box-body {
    background-color: #fff;
    padding: 2vw 2vw 2vw 4vw;
    position: relative;
    border-radius: 2vw;
    width: 50%;
}

.new-patient {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 0.5vw;
}

    .new-patient .subtitle {
        font-size: 0.9vw;
        margin-bottom: 0.5vw;
    }

    .new-patient .title {
        font-size: 1.3vw;
        font-weight: 600;
        margin-bottom: 1.5vw;
        display: flex;
    }

    .new-patient form {
        flex: 1;
        min-height: 0;
        padding: 0.5vw 3vw 0.5vw 0;
        overflow: auto;
        max-height: 70vh;
    }

        .new-patient form::-webkit-scrollbar {
            width: 0.8vw;
        }

        .new-patient form::-webkit-scrollbar-track {
            background: #f0f0f0;
        }

        .new-patient form::-webkit-scrollbar-thumb {
            background-color: #3b6ded;
            border-radius: 10px;
            border: 0.2vw solid transparent;
            background-clip: content-box;
        }

        .new-patient form.checkScrollbar {
            padding: 0 2.5vw 0 0;
        }

.subtitle {
    font-size: 1vw;
    margin-bottom: 0.5vw;
}

.title {
    text-decoration: none !important;
    margin-bottom: 0.5vw;
}

.schedule-container {
    display: flex;
    justify-content: space-between;
    flex: 1;
    min-height: 0;
    width: 100%;
    margin: 0.5vw 0 1.5vw 0;
}

    .schedule-container .schedule {
        height: 100%;
        box-shadow: rgb(191 186 186) 0px 3px 15px -5px;
        border-radius: 2vw;
        width: calc(75% - 1.5vw);
        padding: 1vw 1vw 1vw 2.5vw;
    }

        .schedule-container .schedule p {
            font-size: 1vw;
            font-weight: 600;
        }

    .schedule-container .buttons {
        margin: auto 0 0 0;
    }

        .schedule-container .buttons button {
            font-size: 1vw;
            color: #fff;
            padding: 0.5vw 2.5vw;
            background: #3c5ccc;
            border: 1px solid #3c5ccc;
            border-radius: 1vw;
        }

.input-group {
    display: flex;
    width: 100%;
}

#btnBuscar {
    cursor: pointer;
    height: 2.2vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text {
    width: 100%
}

    .text .input-container {
        display: flex;
        gap: 1.5vw;
        margin-bottom: 1.2vw;
        width: 100%;
    }

        .text .input-container .input {
            display: flex;
            flex-direction: column;
        }

            .text .input-container .input .text-danger span {
                font-size: 0.8vw;
            }

            .text .input-container .input.width1000p {
                width: 100%;
            }

            .text .input-container .input.width500p {
                width: 50%;
            }

            .text .input-container .input.width250p {
                width: 25%;
            }

            .text .input-container .input.width188p {
                width: 18.8%;
            }

            .text .input-container .input.width333p {
                width: 33.3%;
            }

            .text .input-container .input.width167p {
                width: 16.7%;
            }

            .text .input-container .input label {
                margin-bottom: 0.1vw;
                font-size: 1vw;
                font-weight: 400;
            }

            .text .input-container .input input {
                border: 1px solid #3c5ccc;
                border-radius: 0.5vw !important;
                height: 2.7vw;
                width: 100%;
                min-width: 100%;
                padding: 0.5vw 1vw;
                font-size: 1vw;
                color: #000;
            }

                .text .input-container .input input[readonly] {
                    background-color: #eeeeee;
                    opacity: 1;
                }

            .text .input-container .input .field-validation-error {
                color: #b11b1b !important;
            }

            .text .input-container .input select {
                border: 1px solid #3c5ccc;
                border-radius: 0.5vw;
                height: 2.7vw;
                width: 100%;
                min-width: 100%;
                padding: 0.5vw 3vw 0.5vw 1vw;
                font-size: 1vw;
                -webkit-appearance: none;
                -moz-appearance: none;
                background-color: #fff;
                background-size: 1vw;
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234285F4' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
                background-repeat: no-repeat;
                background-position: right 1vw center;
            }

                .text .input-container .input select[disabled] {
                    background-color: #eeeeee;
                    opacity: 1;
                }

                .text .input-container .input select option {
                    color: #000;
                    font-size: 1vw;
                }

                .text .input-container .input select.placeholder-style {
                    color: #3e435d;
                }

                .text .input-container .input select.selected-style {
                    color: #000;
                }

        .text .input-container.buttons {
            width: 100%;
            display: flex;
            justify-content: flex-end;
            margin: 2vw 0 0 0;
        }

            .text .input-container.buttons .back a {
                font-size: 1.5rem !important;
                line-height: 1vw;
                color: #fff;
                padding: 1vw 2.5vw;
                background: #74c25f;
                border: 1px solid #74c25f;
                border-radius: 1vw !important;
                text-decoration: none;
            }

                .text .input-container.buttons .back a span{
                    font-size: 1.2rem !important;
                }
                    .text .input-container.buttons .back a  i {
                        font-size: 1.2rem !important;
                        padding: 0 0.5vw 0 0;
                    }





                    .text .input-container.buttons .register button {
                        font-size: 1.5rem !important;
                        line-height: 1vw;
                        color: #fff;
                        padding: 1vw 2.5vw;
                        background: #3c5ccc;
                        border: 1px solid #3c5ccc;
                        border-radius: 1vw !important;
                        text-decoration: none;
                    }

            .text .input-container.buttons .register button span {
                font-size: 1.2rem !important;
                
            }

                .text .input-container.buttons .register button i {
                    font-size: 1.2rem !important;
                    padding: 0 0.5vw 0 0;
                }
@media (max-width: 768px) {
    .form-box-body {
        min-width: 320px;
        padding: 1.5rem 1rem;
        border-radius: 1rem;
        box-sizing: border-box;
        max-height: 90vh;
        overflow-y: auto;
        width: 100% !important;
    }

    .containerLogin {
        padding: 1rem;
        justify-content: center;
    }

    .new-patient .subtitle {
        font-size: 1.4rem; 
        margin-bottom: 1rem;
    }

    .new-patient .title {
        font-size: 2rem;
        margin-bottom: 2rem;
        font-weight: bold;
    }

    .form-box-body label.form-label {
        font-size: 1.4rem;
        padding-left: 5px;
    }

    .form-box-body .form-control {
        font-size: 1.4rem;
        padding: 1rem;
        border-radius: 1rem;
    }

    .text .input-container.buttons .register button,
    .text .input-container.buttons .back a {
        font-size: 1.4rem;
        padding: 1rem 2rem;
        border-radius: 1rem !important;
    }

        .text .input-container.buttons .register button i {
            font-size: 1.4rem;
        }
}


/*----------------------------- ESTILOS BUSCAR DOCUMENTO -----------------------------*/
.search-document {
    display: flex;
    flex-direction: row;
    position: relative;
}

    

    .search-document .search-document-text {
        position: absolute;
        cursor: pointer;
        right: 0;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0 1vw;
        z-index: 10;
    }

        .search-document .search-document-text i {
            font-size: 0.8vw;
            color: #3c5ccc;
        }
/*-------------------------------------------------------------------------------------*/

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid transparent; /* base transparente */
        border-radius: 50%;
        animation: lds-ring 1.2s linear infinite;
        border-top-color: #3498db; /* azul */
        border-right-color: #3498db; /* azul */
        border-bottom-color: #2ecc71; /* verde */
        border-left-color: #3498db; /* azul */
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.swal2-popup.swal2-modal.swal2-icon-error.swal2-show {
    font-size: 10px;
}

div:where(.swal2-container) div:where(.swal2-html-container) {
    overflow: unset !important;
}
