.bg-custom-primary {
    background-color: #EF3738 !important;
    color: white !important;
}
.text-custom-primary {
    color: #EF3738 !important;
}
.btn-seleccionar {
    background-color: #EF3738;
    border-color: #EF3738;
    color: white;
}
.btn-seleccionar:hover {
    background-color: #B71C1C;
    border-color: #B71C1C;
    color: white;
}
.btn-nuevo {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}
.btn-nuevo:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: white;
}

.diplomas-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}
.form-panel {
    background: #F9F9F9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #EF3738;
}
.cursos-lista {
    margin-top: 20px;
}
.curso-item {
    background: #F9F9F9;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    border-left: 4px solid #28a745;
}
.diploma-link {
    color: #EF3738;
    text-decoration: none;
    font-weight: 500;
}
.diploma-link:hover {
    text-decoration: underline;
}
.numero-inscritos {
    font-weight: bold;
    color: #EF3738;
    font-size: 1.1em;
}
.numero-certificados {
    font-weight: bold;
    color: #dc3545;
    font-size: 1.1em;
}
.sin-inscritos {
    color: #6c757d;
    font-style: italic;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-danger:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
}

.alert-danger {
    border-left: 4px solid #dc3545;
}

.alert-success {
    border-left: 4px solid #28a745;
}

.usuarios-section {
    margin-top: 20px;
}
.usuarios-section .table {
    margin-bottom: 0;
}
.usuarios-section .table td {
    padding: 8px 12px;
    vertical-align: middle;
}
.usuarios-section .btn-sm {
    padding: 2px 8px;
    font-size: 0.75rem;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(239, 55, 56, 0.05);
}

.table-hover tbody tr:hover {
    background-color: rgba(239, 55, 56, 0.1);
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    font-weight: 600;
}

.form-control:focus {
    border-color: #EF3738;
    box-shadow: 0 0 0 0.2rem rgba(239, 55, 56, 0.25);
}

.btn-seleccionar:focus {
    box-shadow: 0 0 0 0.2rem rgba(239, 55, 56, 0.5);
}

.badge {
    font-size: 0.7em;
}

.fas {
    margin-right: 4px;
}

.btn-danger:disabled {
    position: relative;
}

.btn-danger:disabled:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: normal;
    width: 250px;
    z-index: 1000;
}

/* Estilos para botones de pago */
.btn-pago {
    background-color: #28a745;
    border: none;
    color: white;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-pago:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    color: white;
}

/* Badges para estados de pago */
.badge-pago-activo {
    background-color: #28a745;
}

.badge-pago-pendiente {
    background-color: #ffc107;
    color: #1F1F1F;
}

.badge-pago-rechazado {
    background-color: #dc3545;
}

/* Precios */
.precio-curso {
    font-size: 1.25rem;
    font-weight: bold;
    color: #28a745;
}