body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #3B5296;
}

.container {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

p {
    color: #3B5296
}

h1 {
    color: #3B5296;
    text-align: center;
    margin-bottom: 1.5rem;
}

h2 {
    color: #3B5296;
    text-align: center;
    margin-bottom: 0.5rem;
}

h5 {
    color: #3B5296 !important;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.5rem;
    color: #3B5296;
    font-size: 0.8em;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #bbb;
    border-radius: 4px;
    width: 100% !important;
    box-sizing: border-box !important;
    height: 2em;
}

button {
    background-color: #FF914C;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #e96818;
}

.links {
    margin-top: 1rem;
    text-align: center;
}

.links a {
    color: #4682B4;
    text-decoration: none;
    margin-left:auto;
}

.links a:hover {
    text-decoration: dashed;
}

.form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
  }

.form-text {
    margin-right:0em;
}

.reset_pass {
    font-size: 2em;
    margin-bottom: 12px !important;
  }

hr {
    border: none;
    height: 1px;
    background-color: #3B5296;  /* Color de la línea */
    margin: 20px 0;  /* Espacio arriba y abajo de la línea */
  }

.text_account {
    font-size: 1em;
    margin-top: 12px;
    text-align: center;
    color: #3B5296;
  }

  .btn-google {
    width: 100%;
    padding: 10px;
    background-color: rgb(199, 219, 245);
    color: #4682b4;
    border:  2px;
    border-color: black;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-google:hover {
    background-color: #357AE8;
    color: white;
}

.btn-google svg {
    width: 24px;
    height: 24px;
    margin-right: 16px;
    vertical-align: middle;
}

.remember-field {
    display: flex;
    align-items: center;
    margin-top: 10px;
  }

.remember-field label {
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

.remember-field input[type="checkbox"] {
    width: auto;
    vertical-align: middle;
  }

.link_register {
    margin-left:auto;
    margin-top:1em;
}

.logout-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .logout-container h1 {
    color: #3B5296;
    margin-bottom: 20px;
  }
  
  .logout-container p {
    color: #3B5296;
    margin-bottom: 20px;
  }
  
  .btn-danger {
    background-color: rgba(255, 0, 0, 0.842);
    border-color: rgba(255, 0, 0, 0.842);
  }
  
  .btn-danger:hover {
    background-color: red;
    border-color: red;
  }

.confirm-email-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.confirm-email-container h1 {
    color: #3B5296;
    margin-bottom: 20px;
}

.confirm-email-container p {
    color: #3B5296;
    margin-bottom: 20px;
}

.confirm-email-container a {
    color: #FF914C;
    text-decoration: none;
}

.confirm-email-container a:hover {
    text-decoration: underline;
}


.btn-base {
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-bottom: 10px;
}

.version {
    color: #3B5296;
    padding-right: 20px;
    padding-bottom: 0px;
    margin-bottom: 0px !important;
    font-size: xx-small;
}

.primary {
    background-color: #FF914C;
    border-color: #FF914C;
    color: white;
}

.primary:hover {
    background-color: #e96818;
    color: white;
}

.secondary {
    background-color: #3B5296;
    border-color: #3B5296;
    color: white;
}

.secondary:hover {
    background-color: #1e3a91;
    color: white;
}

.verified {
    background-color: #198a55;
    border-color: #198a55;
    color: white;
}

.verified:hover {
    background-color: #167441;
    color: white;
}

.unverified {
    background-color: #b81b1b;
    border-color: #b81b1b;
    color: white;
}

.unverified:hover {
    background-color: #940d0d;
    color: white;
}

.verify-email-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.verify-email-container h1 {
    color: #4682B4;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.verify-email-container p {
    color: #4682B4;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.email-addresses-container {
    max-width: 680px !important;
    margin: 1rem auto;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.email-addresses-container h1 {
    color: #3B5296;
    text-align: center;
    margin-bottom: 1.5rem;
}

.email-addresses-container p {
    color: #3B5296;
    margin-bottom: 1rem;
}

.email-list {
    list-style-type: none;
    padding: 0;
}

.email-item {
    background-color: #f0f8ff;
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 0.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 47.2px;
}

.email-item .email-address {
    font-weight: bold;
}

.email-item .email-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-email {
    padding: 3px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.add-email-form {
    margin-top: 2rem;
    border-top: 1px solid #bbb;
    padding-top: 1rem;
}

.add-email-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #3B5296;
}

.add-email-form input[type="email"] {
    width: 100% !important;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #bbb;
    border-radius: 4px;
    max-width: 100% !important;
}

.container-wide {
    max-width: 600px !important;
}

.container-semi-wide {
    max-width: 250px !important;
}

.email-addresses-container .btn-email {
    font-size: 0.9em;
    padding: 5px 10px;
    margin: 2px;
}
.email-addresses-container .email-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.messages {
    position: fixed;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 80%;
    max-width: 800px;
}

/* .alert {
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    position: relative;
}

.alert-success {
    color: #d4edda !important;
    background-color: #4caf50;
    border-color: #c3e6cb;
}

.alert-error {
    color: #97121f;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    background-color: #4caf50;
    color: #d4edda;
    border-color: #c3e6cb;
}

.alert-warning {
    background-color: #d8a407;
    color: #fff3cd;
    border-color: #ffeeba;
}

.close-btn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.75rem 1rem;
    color: inherit;
    border: none;
    background: none;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.close-btn:hover {
    opacity: 1;
} */

/* Modificación de los estilos de alerta */
#liveAlertPlaceholder {
    position: fixed;
    top: 56px; /* Justo debajo del navbar */
    left: 50%;
    transform: translateX(-50%);
    width: 70%; /* Ocupar el 70% del ancho de la pantalla */
    z-index: 1050;
    max-width: 1200px;
}

.alert {
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
    font-size: 14px; /* Letra más pequeña */
    font-weight: normal; /* Menos basto */
    position: relative;
    padding: 0.5rem 1rem; /* Reducir el padding para hacerlo menos basto */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    opacity: 1;
    transition: opacity 0.3s ease;
}

.alert-success {
    color: #d4edda !important;
    background-color: rgba(76, 175, 80, 0.9); /* Más transparente */
    border-color: #c3e6cb;
}

.alert-error, .alert-danger {
    color: #fff;
    background-color: rgba(220, 53, 69, 0.9); /* Más transparente */
    border-color: #f5c6cb;
}

.alert-info {
    background-color: rgba(76, 175, 80, 0.9); /* Más transparente */
    color: #d4edda;
    border-color: #c3e6cb;
}

.alert-warning {
    background-color: rgba(216, 164, 7, 0.9); /* Más transparente */
    color: #fff3cd;
    border-color: #ffeeba;
}

.btn-close {
    font-size: 0.8rem; /* Botón de cierre más pequeño */
    opacity: 0.7;
    max-height: max-content;
    padding-bottom: 1rem !important;
}

.btn-close:hover {
    opacity: 1;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 0px !important
}

.container-nav {
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.nav-link {
    border: 0;
}

.navbar .form-inline {
    margin-left: auto;
}
.navbar .form-control-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

#loading-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999 !important;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3B5296;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}


.client-result {
    padding: 5px;
    cursor: pointer;
}
.client-result:hover {
    background-color: #f0f0f0;
}

.iti__country-list {
    max-width: 400px;
    overflow-x: hidden;
}

.input-group {
    display: flex;
    flex-wrap: nowrap;
}
.input-group .form-control {
    flex: 1 1 auto;
    width: 1%;
}
.input-group-append {
    display: flex;
}
.input-group-append .btn {
    white-space: nowrap;
}
@media (max-width: 576px) {
    .input-group {
        flex-wrap: wrap;
    }
    .input-group .form-control,
    .input-group-append {
        flex: 0 0 100%;
        margin-top: 5px;
    }
}
#add-email, #clientSearch, #ok-add-user, #newClientEmail {
    margin-right: 1em;
    margin-bottom: 0;
    height: 38.6px;
    margin-top: 0;
}
.button-right {
    height: min-content;
    margin-top: 3px;
}

.readonly-field {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #6c757d;
    cursor: not-allowed;
}
.readonly-field:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.no-scroll-x {
    overflow-x: hidden;
}

.btn-square {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#clientResults {
    margin-top: 1em;
}

.toast-body-opaque {
    opacity: 1 !important;
    background-color: white !important;
}

.new-business-form {
    width: 80%;
}

.new-business-label {
    display: flex;
}

.invalid-feedback {
    font-size: x-small !important;
    margin-top: -10px !important;
}

#header-preconfig {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 10px; */
}

#header-preconfig h2 {
    margin: 0;
}

#header-preconfig svg {
    flex-shrink: 0;
}

#info-preconf {
    padding: 0px;
}

.job-type-item {
    display: flex;
    margin-bottom: 5px;
}

.job-type-input {
    flex-grow: 1;
    margin-right: 5px; /* Reducido de 10px a 5px */
    margin-bottom: 0 !important;
}

.btn-add-job-type,
.btn-remove-job-type {
    padding: 0.375rem 0.5rem; /* Reducido el padding horizontal */
    width: 35px; /* Ancho fijo para los botones */
    height: 35px; /* Alto fijo para los botones */
    display: flex;
    justify-content: center;
    align-items: center;
}

#job-type-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 20px;
    width: 95%;
}

#solicitarBtn {
    margin-top: 10px; /* Espacio después de la lista de trabajos */
}

.alert-message-progress {
    background-color: #ee9f0cd0;
    color: white;
    max-width: 160px;
    padding: 10px;
    text-align: center;
    margin: 0 auto;
}

.alert-message-ok {
    background-color: #4caf50d0;
    color: white;
    max-width: 160px;
    padding: 10px;
    text-align: center;
    margin: 0 auto;
}

.alert-message-called {
    background-color: #191ce060;
    color: white;
    max-width: 160px;
    padding: 10px;
    text-align: center;
    margin: 0 auto;
}

.row-client-waiting {
    --bs-table-bg: #ee9f0cd0;
    --bs-table-color: white;
    --bs-table-striped-color: white;
}

.row-client-called {
    --bs-table-bg: #191ce060;
    --bs-table-color: white;
    --bs-table-striped-color: white;
}

.row-client-attended {
    --bs-table-bg: #4caf50d0;
    --bs-table-color: white;
    --bs-table-striped-color: white;
}

/* Estilo para botones desactivados */
.disabled {
    background-color: #cccccc !important;
    border-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.disabled:hover {
    background-color: #cccccc !important;
    border-color: #cccccc !important;
    color: #666666 !important;
}

.table-container {
    overflow-x: auto;
}

#appointmentsTable {
    width: 100%;
    min-width: 600px; /* Ajusta este valor según sea necesario */
}

/* Estilos para dispositivos móviles */
@media (max-width: 767px) {
    .appointment-content {
        padding: 10px;
    }

    .card {
        margin-bottom: 15px;
    }

    .filters-container {
        flex-direction: column;
    }

    .filter-row {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .filter-column {
        width: 100%;
        margin-bottom: 10px;
    }

    .date-range-container {
        flex-direction: column;
    }

    #date-range-select, #refresh-button {
        width: 100%;
        margin-bottom: 10px;
    }

    #appointmentsTable th, 
    #appointmentsTable td {
        padding: 8px 5px;
        font-size: 14px;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination li {
        margin-bottom: 5px;
    }
}