* {
    font-family: Arial, Helvetica, sans-serif;
}
body, .table{
    color: #3d3d3d;
}

.navbar .page-title {
    text-overflow: ellipsis;
    overflow: hidden;
    color: #2f2f2f;
    font-size: 1.125rem;
    white-space: nowrap;
}

.card-header .section-title{
    text-overflow: ellipsis;
    overflow: hidden;
    color: #2f2f2f;
    font-size: 1.100rem;
    white-space: nowrap;
    font-weight: bold;
}

@media (min-width: 768px) {
    .navbar .page-title {
        font-size: 1.625rem;
    }

    .card-header .section-title{
        font-size: 1.600rem;
        font-weight: bold;
    }
}

#tituloLogin{
    color: #000000;
    font-weight: bold;
}

#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);
}

.results-container{
    border: 1px solid #7d7d7d;
    padding: 1% 2% 1% 2%;
    margin: 0 0 2% 0;
}

.results-header{
    margin: 0 0 1% 0;
    font-weight: bold;
}

.results-title a:hover {
    color: #082567 !important;
}

#dataTable tbody tr{
    background-color: #ffffff;
}

#dataTable tbody tr:hover {
    background-color: #f2f2f2;
}

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
    max-width: 350px;
}

.toast {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: #007bff;
    width: 100%;
    transition: width linear;
}

.toast-bg-dark {
    background-color: #343a40;
}

.toast-bg-success {
    background-color: #28a745;
}

.toast-bg-danger {
    background-color: #dc3545;
}

.toast-bg-info {
    background-color: #17a2b8;
}

@media (min-width: 768px) {
.sidebar.toggled .nav-item .nav-link span{
    display: none;
  }
}

@media (max-width: 992px) {

    .row{
        display: flex;
        flex-direction: column;
    }

    .col-6{
        min-width: 100%;
    }

}