/* Estilos específicos para el módulo de equipos remotos */

.module-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.module-header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 600;
}

.module-header p {
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
}

.stats-container .badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    border-radius: 20px;
}

/* Tarjetas de VM */
.vm-card {
    border-left: 4px solid #667eea;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Badges personalizados */
.badge-windows {
    background-color: #0078d4;
    color: white;
}

.badge-linux {
    background-color: #f1502f;
    color: white;
}

/* Acciones rápidas */
.quick-actions {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.quick-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
}

.quick-btn:hover {
    transform: scale(1.05);
}

.btn-rdp {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.btn-anydesk {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.btn-wiki {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

/* Estado de las VMs */
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.status-active { background-color: #28a745; }
.status-inactive { background-color: #6c757d; }
.status-maintenance { background-color: #ffc107; }
.status-retired { background-color: #dc3545; }

/* Tabla responsiva */
#tablaVMs th {
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

#tablaVMs td {
    vertical-align: middle;
}

/* Formularios */
.form-label.required:after {
    content: " *";
    color: #dc3545;
}

/* Modal personalizado */
.modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px 10px 0 0;
}

/* Responsive */
@media (max-width: 768px) {
    .module-header {
        padding: 1.5rem;
    }
    
    .module-header h1 {
        font-size: 1.8rem;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}

.vm-card { border-left: 4px solid #007bff; margin-bottom: 10px; }
        .vm-card.activa { border-left-color: #28a745; }
        .vm-card.mantenimiento { border-left-color: #ffc107; }
        .vm-card.inactiva { border-left-color: #6c757d; }
        .badge-estado { font-size: 0.8em; padding: 4px 8px; }
        .table-actions { white-space: nowrap; width: 1px; }
        .search-box { max-width: 300px; }
        .stats-card { transition: all 0.3s; }
        .stats-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
        .btn-action { padding: 4px 8px; font-size: 0.875rem; }
        .form-control-sm { font-size: 0.875rem; }
        .table-sm td, .table-sm th { padding: 0.5rem; }
        .required::after { content: " *"; color: #dc3545; }
        /* Estilos para estadísticas */
        .stat-card { border-radius: 8px; padding: 15px; margin-bottom: 15px; }
        .stat-card.total { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
        .stat-card.activas { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); color: white; }
        .stat-card.mantenimiento { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); color: white; }
        .stat-card.inactivas { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); color: white; }