.pendientes-aviso {
    margin-bottom: 20px !important;
}

.pendientes-texto {
    padding: 10px !important;
    background: #fff3cd !important;
    color: #856404 !important;
    border: 1px solid #ffeeba !important;
    border-radius: 4px !important;
    font-size: 16px !important;
}

.pendientes-texto strong {
    color: #ff3b00 !important;
}

.estado-selector {
    padding: 5px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

/* Contenedor principal */
.gestion-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    font-family: Arial, sans-serif !important;
}

/* Navegación */
.nav-tabs {
    display: flex !important;
    border-bottom: 2px solid #ddd !important;
    margin-bottom: 20px !important;
}

.tab-button {
    padding: 12px 20px !important;
    border: none !important;
    background: #1c6b83 !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: all 0.3s !important;
}

.tab-button:hover {
    background: #3287a1ad !important;
}

.tab-button.active {
    background: #ff3b00 !important;
    color: white !important;
    border-bottom: 2px solid #007bff !important;
}

/* Contenido de pestañas */
.tab-content-wrapper {
    position: relative !important;
}

.tab-content {
    display: none !important;
    padding: 20px !important;
    background: white !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.tab-content.active {
    display: block !important;
}

/* Formularios */
.gestion-form {
    display: grid !important;
    gap: 15px !important;
    max-width: 500px !important;
}

.form-group {
    display: flex !important;
    flex-direction: column !important;
}

.form-group label {
    font-weight: 600 !important;
    margin-bottom: 5px !important;
    color: #333 !important;
}

.form-group input,
.form-group select {
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

.submit-btn {
    padding: 12px !important;
    background: #28a745 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: background 0.3s !important;
}

.submit-btn:hover {
    background: #218838 !important;
}

/* Mensajes */
.mensaje {
    margin-top: 10px !important;
    padding: 10px !important;
    border-radius: 4px !important;
}

.mensaje.success {
    background: #d4edda !important;
    color: #155724 !important;
}

.mensaje.error {
    background: #f8d7da !important;
    color: #721c24 !important;
}

/* Tabla */
.gestion-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 20px !important;
}

.gestion-table th,
.gestion-table td {
    padding: 12px !important;
    border: 1px solid #ddd !important;
    text-align: left !important;
}

.gestion-table th {
    background: #f8f9fa !important;
    font-weight: 600 !important;
}

.gestion-table tr:nth-child(even) {
    background: #f8f9fa !important;
}

.gestion-table tr:hover {
    background: #e9ecef !important;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column !important;
    }
    
    .tab-button {
        width: 100% !important;
        margin-bottom: 5px !important;
    }
    
    .gestion-form {
        max-width: 100% !important;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.submit-btn {
    padding: 12px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #218838;
}

/* Mensajes */
.mensaje {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.mensaje.success {
    background: #d4edda;
    color: #155724;
}

.mensaje.error {
    background: #f8d7da;
    color: #721c24;
}

/* Tabla */
.gestion-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.gestion-table th,
.gestion-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.gestion-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.gestion-table tr:nth-child(even) {
    background: #f8f9fa;
}

.gestion-table tr:hover {
    background: #e9ecef;
}

/*Responsive */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .gestion-form {
        max-width: 100%;
    }
}