/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}

header > a{
    color: #FFFFFF !important;
}
/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8;
    color: #333;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {

    margin: 0 auto;
    padding: 20px;
}



/* Encabezado */
header {
    background-color: #333;
    text-align: center;
    padding: 10px;

    * {
        color: #fff;
        padding: 10px;
        font-style: none;
        text-decoration: none;
    }
}

.active {
    transform: scale(1.5);
}

/* Formulario */
.form-container {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.form-container * {
    margin: 5px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input,
textarea,
select {
    width: 80%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 16px;
}

textarea{
    overflow: hidden;
    resize: none;
}
button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}

/* Mapa */
#map,
#mapLocation {
    height: 400px;
    margin-top: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: scroll
}

.info h4 {
    margin: 0 0 5px;
    color: #777;
}

.legend {
    line-height: 18px;
    color: #555;
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}

/* Estilos para la tabla */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
}

th {
    background-color: #000;
    font-weight: bold;
    padding: 10px;
    text-align: left;
    color: #fff;
}

td {
    padding: 10px;
    border: 1px solid #bbb;
    word-wrap: break-word;
}

td span {
    margin-right: 5px;
}

tbody tr:nth-child(even) {
    background-color: #ddd;
}

.info_card {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;

    .card {
        font-size: clamp(.50rem, .75rem, .95rem);
        font-weight: 600;
        width: clamp(250px, 30%, 600px);
        background: white;
        padding: 15px;
        margin: 5px;

        box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3), 0px 3px 7px rgba(0, 0, 0, 0.3), 0px 0px 1px #FFFFFF inset, 0px -3px 2px rgba(0, 0, 0, 0.25) inset;
    }
}


table {
    margin: auto;
    width: 100%;
    padding: 100px;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: clamp(.50rem, .75rem, .95rem);
    font-weight: 600;
}

th,
td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.total {
    text-align: right;
    margin: 10px 0;
    font-size: 20px;
}

label {
    font-weight: bold;
    margin-right: 10px;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.danger {
    background-color: red;
}

.blue {
    background-color: blue;
}

.danger:has(i) {
    background-color: transparent;
    color: red;
    font-size: 25px;
}

#modal,
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
}

#modal-content {
    position: absolute;
    width: 90%;
    max-width: 800px;
    height: auto;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

b {
    color: var(--bg-color-header);
}

#modal-image {
    width: 100%;
    height: 65%;
}

img,
iframe {
    object-fit: cover;
    width: 100%;
    height: 75%;
}

.container {
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.invoice-form {
    text-align: center;
}

#confirmationForm {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.checkbox-container {
    width: 40%;
    display: flex;
    align-items: center;

    input[type="checkbox"] {
        width: auto;
        margin-right: 5px;
    }
}

.modal-form {

    justify-content: center;
    align-items: center;
    padding: 20px;

    #confirmationForm {
        background-color: #fff;
        width: 80%;

    }
}

.responsive {
    display: none;
}

@media only screen and (max-width: 768px) {
    thead {
        display: none;
    }

    td {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        padding: 5px;
        justify-content: center;
        align-items: center;
        flex-direction: column;

        * {
            width: 80%;
        }
    }

    .responsive {
        display: block;
    }
}


/** Loader*/

.loader_view{
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    background: #000000b5 ;
    z-index: 1000000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
}

.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #fff;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.details_nap{ 
    display:block;
    width: 90%;
    margin: 0px auto;
    margin-bottom: 35px;
    background: white;
    padding: 15px;
    box-shadow: 0px 0px 1px rgba(0,0,0,0.3), 0px 3px 7px rgba(0,0,0,0.3), 0px 0px 1px #FFFFFF inset, 0px -3px 2px rgba(0,0,0,0.25) inset; 

}