/* SkyNet Asignación de Supervisores - Styles */
.skynet-asignacion-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.skynet-header {
    background: linear-gradient(135deg, #0073aa 0%, #00a0d2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.skynet-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.skynet-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.skynet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.skynet-panel {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.skynet-panel h3 {
    margin-top: 0;
    color: #0073aa;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    font-size: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.skynet-select, .skynet-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.skynet-select:focus, .skynet-input:focus {
    border-color: #0073aa;
    outline: none;
}

.search-box {
    display: flex;
    gap: 10px;
}

.skynet-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.skynet-btn-primary {
    background: #0073aa;
    color: white;
}

.skynet-btn-primary:hover {
    background: #005a87;
}

.skynet-btn-secondary {
    background: #6c757d;
    color: white;
}

.skynet-btn-secondary:hover {
    background: #545b62;
}

.skynet-btn-success {
    background: #28a745;
    color: white;
}

.skynet-btn-success:hover {
    background: #1e7e34;
}

.skynet-btn-warning {
    background: #ffc107;
    color: #212529;
}

.skynet-btn-warning:hover {
    background: #e0a800;
}

.tecnicos-lista {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px;
}

.tecnico-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.tecnico-item:hover {
    background-color: #f8f9fa;
}

.tecnico-item:last-child {
    border-bottom: none;
}

.tecnico-info {
    flex: 1;
}

.tecnico-info strong {
    color: #333;
    font-size: 14px;
}

.tecnico-actions {
    margin-left: 15px;
}

.skynet-alert {
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    font-weight: 600;
}

.skynet-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.skynet-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.skynet-empty {
    text-align: center;
    padding: 30px;
    color: #6c757d;
    font-style: italic;
}

.skynet-loading {
    text-align: center;
    padding: 10px;
    color: #0073aa;
}

.skynet-error {
    color: #dc3545;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .skynet-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .tecnico-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tecnico-actions {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
    
    .tecnico-actions .skynet-btn {
        width: 100%;
    }
}