/* ═══════════════════════════════════════════════════
   USB Devices Tester — styles
   ═══════════════════════════════════════════════════ */

.usb-tester {
    padding: 60px 0;
    background: #f8f9fa;
}

/* ── Controls bar ────────────────────────────────── */
.usb-controls {
    background: #fff;
    padding: 18px 22px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}

/* ── Device card ─────────────────────────────────── */
.usb-device-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
    overflow: hidden;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.usb-device-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.usb-device-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
}

.usb-device-header i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.usb-device-name {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}

.usb-device-mfr {
    font-size: 0.78rem;
    opacity: .8;
}

.usb-device-details {
    padding: 12px 16px;
}

/* ── Detail rows ─────────────────────────────────── */
.usb-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.83rem;
}

.usb-detail-row:last-child {
    border-bottom: none;
}

.usb-detail-row span:first-child {
    color: #6c757d;
}

.usb-detail-row span:last-child {
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* ── Event log ───────────────────────────────────── */
.usb-event-log {
    background: #1e2330;
    color: #c9d1d9;
    border-radius: 10px;
    padding: 14px 16px;
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    max-height: 200px;
    overflow-y: auto;
}

.log-row {
    padding: 3px 0;
    display: flex;
    gap: 10px;
}

.log-time {
    color: #6c757d;
    flex-shrink: 0;
}

.log-success {
    color: #28a745;
}

.log-warning {
    color: #ffc107;
}

.log-info {
    color: #17a2b8;
}

/* ── Empty state ─────────────────────────────────── */
#usb-empty {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
    padding: 40px;
}

/* ── SEO content ─────────────────────────────────── */
.seo-content {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.seo-content h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.seo-content h3 {
    color: #007bff;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.seo-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.seo-content ul {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.seo-content li {
    margin-bottom: 8px;
}

.seo-content strong {
    color: #495057;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
    .usb-tester {
        padding: 40px 0;
    }

    .usb-controls {
        padding: 14px 16px;
    }
}