body {
    background-color: #e9ecef; /* Un gris claro suave */
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #343a40;
}

.container,
.container-fluid {
    max-width: 960px; /* Limitar ancho para mejor legibilidad */
    margin-top: 50px;
    margin-bottom: 50px;
}

.card {
    border: none;
    border-radius: 15px; /* Bordes más redondeados */
    box-shadow: 0 10px 20px rgba(0,0,0,.08); /* Sombra más pronunciada */
    background-color: #ffffff;
}

h1,
h2 {
    color: #0056b3; /* Azul corporativo */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #007bff; /* Azul Bootstrap */
    border-color: #007bff;
    transition: all 0.3s ease; /* Transición suave */
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px); /* Efecto hover sutil */
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529; /* Texto oscuro para contraste */
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    transform: translateY(-2px);
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    transform: translateY(-2px);
}

.alert {
    margin-top: 20px;
    border-radius: 8px;
}

.badge {
    font-size: 0.85em;
    padding: 0.5em 0.7em;
    border-radius: 0.5rem;
}

.table thead th {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 123, 255, 0.05); /* Rayas más suaves */
}

.form-control,
.form-select {
    border-radius: 0.5rem;
    border-color: #ced4da;
}

.form-control:focus,
.form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

/* Estilos específicos para el botón de Google */
.btn-google {
    background-color: #4285F4; /* Google Blue */
    border-color: #4285F4;
    color: white;
}

.btn-google:hover {
    background-color: #357ae8;
    border-color: #357ae8;
}

.btn-google img {
    margin-right: 8px;
}

/* Messaging System Styles */
#conversation-list .list-group-item {
    cursor: pointer;
}
#conversation-list .list-group-item.active {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #000;
}
.message-bubble {
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 70%;
    word-wrap: break-word;
    line-height: 1.4;
}
.message-time {
    font-size: 0.75rem;
    color: inherit;
    opacity: 0.7;
    text-align: right;
    margin-top: 5px;
    clear: both;
}
#message-area {
    background-color: #f1f3f5;
}
.bg-body-secondary {
    background-color: #e9ecef !important;
}
