/* MB CAT Finder Styles */
.mb-cat-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mb-cat-search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.mb-cat-search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.mb-cat-search-box input:focus {
    outline: none;
    border-color: #f39c12;
}

.mb-cat-search-box button {
    padding: 12px 25px;
    background: #f39c12;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.mb-cat-search-box button:hover {
    background: #e67e22;
}

.mb-cat-currency-toggle {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.mb-cat-currency-toggle label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.mb-cat-currency-toggle input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.mb-cat-result {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #f39c12;
}

.mb-cat-result table {
    width: 100%;
    border-collapse: collapse;
}

.mb-cat-result table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

.mb-cat-result table td:first-child {
    font-weight: 600;
    width: 40%;
    color: #495057;
}

.mb-cat-result table td:last-child {
    color: #212529;
}

.mb-cat-result .price-highlight {
    font-size: 1.2em;
    font-weight: 700;
    color: #f39c12;
}

.mb-cat-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.mb-cat-loading:after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid #f39c12;
    border-top-color: transparent;
    border-radius: 50%;
    animation: mb-cat-spin 0.8s linear infinite;
}

@keyframes mb-cat-spin {
    to { transform: rotate(360deg); }
}

.mb-cat-error {
    margin-top: 20px;
    padding: 15px;
    background: #fff3f3;
    border: 1px solid #dc3545;
    border-radius: 6px;
    color: #dc3545;
}

.mb-cat-not-found {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 600px) {
    .mb-cat-search-box {
        flex-direction: column;
    }
    
    .mb-cat-currency-toggle {
        flex-direction: column;
        gap: 10px;
    }
    
    .mb-cat-result table td {
        display: block;
        width: 100%;
        padding: 8px;
    }
    
    .mb-cat-result table td:first-child {
        font-weight: 600;
        background: #f8f9fa;
    }
}