.nemy-recommender {
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.nemy-badge {
    display: inline-block;
    padding: 15px 25px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nemy-badge-good {
    background-color: #4caf50;
    color: white;
    border-left: 5px solid #2e7d32;
}

.nemy-badge-okay {
    background-color: #ff9800;
    color: white;
    border-left: 5px solid #ef6c00;
}

.nemy-badge-wait {
    background-color: #f44336;
    color: white;
    border-left: 5px solid #c62828;
}

.nemy-status-text {
    display: block;
}

.nemy-status-text strong {
    font-size: 24px;
    text-transform: uppercase;
}

.nemy-message {
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.nemy-details {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border: 1px solid #e0e0e0;
}

.nemy-details p {
    margin: 8px 0;
    font-size: 14px;
    color: #555;
}

.nemy-details strong {
    color: #333;
}

.nemy-timestamp {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.nemy-stale-warning {
    color: #ff9800;
    font-weight: bold;
}

.nemy-refresh-btn {
    background-color: #2196f3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.nemy-refresh-btn:hover {
    background-color: #1976d2;
}

.nemy-refresh-btn:active {
    background-color: #0d47a1;
}

.nemy-refresh-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.nemy-fallback {
    background-color: #fff3cd;
    border-color: #ffc107;
}

.nemy-error-message {
    color: #856404;
    font-size: 16px;
    margin: 10px 0;
}

.nemy-error-details {
    color: #666;
    font-size: 12px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .nemy-recommender {
        padding: 15px;
    }
    
    .nemy-badge {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .nemy-status-text strong {
        font-size: 20px;
    }
    
    .nemy-message {
        font-size: 14px;
    }
}

.nemy-recommender[aria-busy="true"] {
    opacity: 0.6;
    pointer-events: none;
}
