body {
    font-family: 'Arial', sans-serif;
    background-color: #f8fafc;
    padding-top: 20px;
}

.container {
    max-width: 1200px;
}

.table-responsive {
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
}

.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead {
    background-color: #2c3e50; /* Azul oscuro elegante */
    color: white;
}

.table th {
    border: none;
    padding: 12px 15px;
    font-weight: 600;
}

.table td {
    padding: 12px 15px;
    border-top: 1px solid #e2e8f0;
    vertical-align: middle;
}

.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
    background-color: #2c3e50;
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 15px 20px;
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 6px;
}

.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    max-width: 400px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: none;
}

/* Botones - Tono verde esmeralda */
.btn-primary {
    background-color: #10b981;
    border-color: #0ca678;
    color: white;
}

.btn-primary:hover {
    background-color: #0ca678;
    border-color: #059669;
}

.btn-success {
    background-color: #10b981;
    border-color: #0ca678;
}

.btn-danger {
    background-color: #ef4444;
    border-color: #dc2626;
}

.btn-secondary {
    background-color: #64748b;
    border-color: #475569;
}

.btn-with-spinner .spinner-border {
    vertical-align: middle;
    margin-right: 0.5rem;
}

.table-responsive {
    max-height: 70vh;
    overflow-y: auto;
}

.loading-state {
    opacity: 0.7;
    pointer-events: none;
}

/* Estilos mejorados para la tabla */
.table tbody tr:hover {
    background-color: #f1f5f9;
    transition: background-color 0.2s ease;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(241, 245, 249, 0.5);
}

/* Bordes redondeados para la tabla */
.table thead tr:first-child th:first-child {
    border-top-left-radius: 12px;
}

.table thead tr:first-child th:last-child {
    border-top-right-radius: 12px;
}

.table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}