/* ML Suggestions Styling */

.ml-suggestions-box {
    margin-top: 10px;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ml-suggestions-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: white;
    font-size: 14px;
}

.ml-icon {
    font-size: 20px;
   animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.ml-suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ml-suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ml-suggestion-item:hover {
    background: white;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ml-account {
    font-weight: bold;
    font-size: 15px;
    color: #2d3748;
    flex: 1;
}

.ml-confidence {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: auto;
    margin-right: 8px;
}

.ml-confidence.high {
    background: #48bb78;
    color: white;
}

.ml-confidence.medium {
    background: #ed8936;
    color: white;
}

.ml-confidence.low {
    background: #cbd5e0;
    color: #4a5568;
}

.ml-rank {
    font-size: 11px;
    color: #a0aec0;
    font-weight: 600;
}

/* Loading state */
.ml-loading {
    text-align: center;
    padding: 20px;
    color: white;
}

.ml-loading::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

/* Auto-fill highlight */
input.ml-autofilled {
    background-color: #fff3cd !important;
    border: 2px solid #ffc107;
}
