/* Debug-specific styles */

.btn-back {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Debug controls */
.debug-controls {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.control-group select {
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 150px;
}

.control-group select option {
    background: #3b82f6;
    color: var(--text);
}

.control-group select:hover {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.15);
}

.control-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.control-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.info-panel {
    margin-left: auto;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

/* Debug sections */
.debug-section {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.debug-section h2 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

/* Table styles */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

thead {
    background: rgba(59, 130, 246, 0.15);
    position: sticky;
    top: 0;
    z-index: 10;
}

thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    white-space: nowrap;
}

tbody td {
    padding: 10px 16px;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

tbody tr {
    transition: background 0.2s;
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

tbody tr.duplicate {
    background: rgba(239, 68, 68, 0.1);
}

tbody tr.duplicate td {
    color: var(--text-lighter);
}

tbody td.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

tbody td.error {
    text-align: center;
    padding: 40px;
    color: #ef4444;
}

/* Highlight specific columns */
td.mac-cell {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #06b6d4;
}

td.timestamp-cell {
    font-family: 'Courier New', monospace;
    color: var(--text-light);
}

td.duplicate-badge {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-yes {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-no {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .debug-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .control-group {
        flex-direction: column;
        align-items: stretch;
    }

    .control-group select {
        width: 100%;
    }

    .info-panel {
        margin-left: 0;
        text-align: center;
    }

    .table-container {
        font-size: 12px;
    }

    thead th,
    tbody td {
        padding: 8px 12px;
    }
}
