/* Estilos personalizados para Multi-Webservice Uploader */

body {
    background-color: #f8f9fa;
}

/* Tarjetas de estadísticas */
.stat-card {
    transition: transform 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .card-body {
    padding: 1.5rem;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: bold;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Tabla de webservices */
#webservicesTable {
    border-collapse: separate;
    border-spacing: 0;
}

#webservicesTable th {
    background-color: #f1f1f1;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Botones de acción */
.action-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    line-height: 36px;
    text-align: center;
    margin: 0 3px;
}

.action-btn i {
    font-size: 0.9rem;
}

/* Indicadores de estado */
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-active {
    background-color: #198754;
}

.status-inactive {
    background-color: #dc3545;
}

.status-pending {
    background-color: #ffc107;
}

/* Toast personalizado */
.toast {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-success .toast-header {
    background-color: #d1e7dd;
    color: #0f5132;
}

.toast-error .toast-header {
    background-color: #f8d7da;
    color: #842029;
}

.toast-warning .toast-header {
    background-color: #fff3cd;
    color: #664d03;
}

.toast-info .toast-header {
    background-color: #cff4fc;
    color: #055160;
}

/* Modales */
.modal-content {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .action-btn {
        width: 32px;
        height: 32px;
        line-height: 32px;
        margin: 0 2px;
    }
    
    .stat-card .stat-icon {
        font-size: 2rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
}
