.ums-scanner-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ums-scanner-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ums-scanner-header h2 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.ums-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ums-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.ums-input:focus {
    border-color: #4299e1;
    outline: none;
}

.ums-button {
    padding: 0.75rem 1.5rem;
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.ums-button:hover {
    background: #3182ce;
}

.ums-button:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

.ums-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.ums-scanning .ums-button-text {
    display: none;
}

.ums-scanning .ums-spinner {
    display: inline-block;
}

.ums-results {
    display: none;
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.ums-results.active {
    display: block;
}

.ums-result-summary {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.ums-threat-high {
    color: #e53e3e;
}

.ums-threat-low {
    color: #38a169;
}

/* Dark theme */
.dark-theme {
    background: #1a202c;
    color: #fff;
}

.dark-theme .ums-input {
    background: #2d3748;
    border-color: #4a5568;
    color: #fff;
}

.dark-theme .ums-results {
    border-color: #4a5568;
    background: #2d3748;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}