nav {
    background-color: #f8f9fa;
    padding: 1rem;
}

nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #007bff;
}

.flash {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.flash.success {
    background-color: #d4edda;
    color: #155724;
}

.flash.danger {
    background-color: #f8d7da;
    color: #721c24;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    color: #333;
}

.container {
    margin-top: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.5em 0.75em;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.badge-success {
    background-color: lightgreen;
    color: #fff;
}

.badge-warning {
    background-color: rgb(204, 218, 21);
    color: #fff;
}

.badge-danger {
    background-color: rgb(238, 58, 58);
    color: #fff;
}

footer {
    background-color: #fff;
    border-top: 1px solid #ddd;
}

footer p {
    margin: 0;
    color: #333;
    padding-left: 240px; /* Adjust this value to increase or decrease the space */

}

@media (max-width: 576px) {
    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .navbar-nav .nav-link {
        font-size: 1rem;
    }
    .navbar-brand {
        font-size: 1.3rem;
    }
}

.table th, .table td {
    vertical-align: middle;
}

.table th {
    background-color: #f8f9fa;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* static/css/styles.css */
.img-thumbnail {
    max-width: 50px;
    max-height: 50px;
    object-fit: cover;
    border-width: 0px;
    border: none;  /* Elimina cualquier borde */
    box-shadow: none;  /* Elimina cualquier sombra */
    padding: 0;  /* Asegúrate de que no haya padding */
    margin: 0;  /* Asegúrate de que no haya margen */
}

.text-center {
    text-align: center;
}

.fas.fa-user {
    color: #6c757d; /* Optional: Customize the color of the icon */
}

.fas.fa-trash-alt {
    color: rgb(230, 230, 230);
    font-size: 1.2em; /* Ajusta el tamaño del ícono según tus necesidades */
  }

.table td, .table th {
    vertical-align: middle !important;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
}

.form-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-title {
    color: #007bff;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.table-sm th {
    font-weight: 600;
    width: 40%;
}

.badge {
    font-size: 0.8rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* General styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
}

.container-fluid {
    padding: 20px;
}

/* Card styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.card-title {
    color: #007bff;
    font-weight: 500;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Table styles */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 500;
    color: #495057;
}

.table-sm th,
.table-sm td {
    padding: 0.5rem;
}

/* Form styles */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Button styles */
.btn {
    border-radius: 5px;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Badge styles */
.badge {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.badge-alto {
    background-color: #dc3545;
    color: #fff;
}

.badge-medio {
    background-color: #ffc107;
    color: #212529;
}

.badge-bajo {
    background-color: #28a745;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}