* {
    font-family: Arial, Helvetica, sans-serif;
}

#infoViajeContent,
#infoHospedajeContent {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 1.2s ease;
}

#infoViajeContent.collapsed,
#infoHospedajeContent.collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.2s ease;
}

.subtitulo-viaje {
    background-color: #082567;
    color: white;
    font-weight: 400;
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-align: center;
    margin-bottom: 1rem;
}

.accordion-header {
    cursor: pointer;
    user-select: none;
}

.form-control-plaintext {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

@media (max-width: 767.98px) {

    .col-12.col-md-6 {
        margin-bottom: 1rem;
    }

    .form-control-plaintext {
        font-size: 0.9rem;
    }

    #infoViajeContent>.row>.col-md-6:last-child,
    #infoViajeContent>.row>.col-md-6:first-child,
    #infoHospedajeContent>.row>.col-md-6 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-left: 0;
        padding-right: 0;
    }

    #infoViajeContent .mb-2>.form-control-plaintext,
    #infoHospedajeContent .mb-2>.form-control-plaintext {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .subtitulo-viaje {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
    }

    .row.mb-3,
    .row.mb-4 {
        margin-bottom: 0.8rem;
    }

    .content {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

html,
body {
    height: 100%;
}

body {
    background-color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
}

header,
footer {
    background-color: #7d7d7d;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Asegura que ocupe toda la altura de la pantalla */
}

.login-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 128, 0.2);
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 50%;
    height: auto;
}

.login-title {
    color: #000080;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #000080;
    border: none;
}

.btn-primary:hover {
    background-color: #000055;
}

.error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 5px;
    text-align: left;
}

.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.btn-upload {
    background-color: #082567;
    border-color: #082567;
    color: white;
}

.btn-confirmar,
.btn-declinar {
    background-color: #0a2a7c;
    border-color: #0a2a7c;
    color: white;
}

.btn-confirmar:hover,
.btn-declinar:hover {
    background-color: #061b49;
    border-color: #061b49;
    color: white;
}

.btn-confirmar:focus,
.btn-declinar:focus {
    box-shadow: none;
    outline: none;
}

.btn-upload:hover,
.btn-upload:focus,
.btn-upload:active {
    background-color: #061b49;
    border-color: #061b49;
    color: white;
    box-shadow: none;
    outline: none;
}

.btn-ellipsis {
    background-color: transparent;
    border: none;
    color: #333333;
    padding: 0;
    font-size: 1.2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.btn-ellipsis:hover,
.btn-ellipsis:focus,
.btn-ellipsis:active {
    background-color: transparent;
    color: #061b49;
    box-shadow: none;
    outline: none;
}

.dropdown {
    position: relative;
}

.dropdown-menu.show {
    display: block;
}

.modal-header.bg-white {
    background-color: #082567;
    color: white;
}

.btn-selected-color {
    background-color: #082567;
    border-color: #082567;
    color: white;
}

.form-check-input:checked {
    background-color: #082567 !important;
    border-color: #082567;
}

.form-check-input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.contenedor-titulo {
    margin-bottom: 20px; /* Espacio entre el título y el formulario */
    text-align: center;
}

.title {
    font-weight: 200;
    font-size: 2.8rem !important;
    color: rgb(49, 52, 61);
}

.option:hover {
  background-color: yellow;
}

.option:hover {
  color: #2e2f37;
  text-decoration: none;
  
}
.Amarillo {
    color: #c97602;
}
.Verde {
    color: #016316;
}
.Rojo {
    color:#911616;
}
.Azul {
    color: #096f91;  
}
.Blanco {
    color:black;
    background-color: #ffffff;  
}
.Sin-asignar {
    color:black;
    background-color: #ffffff;  
}

.pagination {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

.pagination-info {
    font-size: 1rem;
    /* color: #082567; */
    margin: 10px;
}

.pagination button {
    margin: 0 5px;
    padding: 10px;
    cursor: pointer;
}

.no-results {
    font-size: 1.2rem;
    color: #082567;
    margin-top: 20px;
}

.button_pagination {
    background-color: white;
    /* color: #082567; */
    border: 1px solid #082567;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    margin: 0 2px;
}

.button_pagination:hover {
    background-color: #0645ad;
    color: white;
}

.button_pagination_selected {
    background-color: #082567;
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: not-allowed;
    margin: 0 2px;
}

.button_pagination_selected:hover {
    background-color: #082567;
    color: white;
}

.content_index {
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

.content_search {
    text-align: center;
    width: 90%;
    padding-top: .5rem;
    margin: 0 auto;
}

.results-container {
    width: 100%;
    margin: 2% auto;
}

.result-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #fff;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.result-title {
    font-size: 1rem;
    font-weight: bold;
}
.result-data-modal {
    border: 2px solid navy; 
    background-color: #f8f9fa; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    padding:1% 2%;
    height:100%;
    margin-top: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.result-title-modal {
    font-size: 1.25rem;
    font-weight: bold;
    color: #082567;
    text-align: center;
}

.result-date {
    font-size: 0.9rem;
    color: #082567;
}

.result-description {
    font-size: 0.9rem;
    color: #333;
    text-align: left;
}

.result-description-modal {
    font-size: 1.05rem;
    color: #333;
    padding: 5px;
    text-align: left;
    line-height: 1.8;
}

.result-description a {
    font-size: 0.9rem;
    color: #333;
    text-align: left;
}
.color-primary {
    color: #082567 !important;
}
.color-success {
    color: var(--success);
}
.no-underline {
    text-decoration: none; /* Elimina el subrayado */
}