.motors-dvla-lookup-container {
    margin-bottom: 20px;
}

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

.motors-dvla-registration-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.motors-dvla-lookup-button {
    padding: 10px 25px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.motors-dvla-lookup-button:hover {
    background: #135e96;
}

.motors-dvla-lookup-button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.motors-dvla-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
}

.motors-dvla-status.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.motors-dvla-status.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.motors-dvla-status.info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.motors-dvla-status.warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.motors-dvla-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: motors-dvla-spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

.motors-dvla-button-spinner {
    width: 14px;
    height: 14px;
    border-color: #ffffff;
    border-top-color: transparent;
    margin-right: 5px;
}

@keyframes motors-dvla-spin {
    to { transform: rotate(360deg); }
}

.motors-dvla-rate-limit {
    margin-top: 15px;
    padding: 12px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.motors-dvla-rate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.motors-dvla-rate-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.motors-dvla-rate-text {
    font-size: 13px;
    color: #111827;
    font-weight: 600;
}

.motors-dvla-rate-bar-container {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.motors-dvla-rate-progress {
    height: 100%;
    transition: width 0.4s ease, background 0.4s ease;
}

.motors-dvla-rate-progress.high {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.motors-dvla-rate-progress.medium {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.motors-dvla-rate-progress.low {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.motors-dvla-rate-exceeded {
    color: #dc2626;
    font-weight: 600;
    margin-top: 8px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .motors-dvla-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .motors-dvla-lookup-button {
        width: 100%;
    }
}
