/* Siemens Product Search Styles */
.siemens-product-search-container {
    max-width: 800px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.siemens-product-search-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.search-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input-group input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
    min-width: 250px;
}

.search-input-group input[type="text"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.25);
}

.search-button {
    background: #007cba;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.search-button:hover {
    background: #005a87;
}

.search-loading {
    text-align: center;
    padding: 20px;
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 4px;
    color: #1976d2;
}

.search-results-container {
    margin-top: 20px;
}

.search-results-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007cba;
}

.search-results-header h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.results-count {
    color: #666;
    margin: 0;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    color: #856404;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-number {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-family: monospace;
}

.product-name {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.product-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.lifecycle-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-obsolete {
    background: #f8d7da;
    color: #721c24;
}

.status-discontinued {
    background: #fff3cd;
    color: #856404;
}

.successor-info {
    background: #e7f3ff;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
}

.successor-label {
    font-weight: bold;
    color: #0066cc;
}

.product-actions {
    text-align: right;
}

.details-link {
    display: inline-block;
    padding: 8px 16px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.details-link:hover {
    background: #005a87;
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
    }
    
    .search-input-group input[type="text"] {
        min-width: 100%;
        margin-bottom: 10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}