/* Adblocker Tester Full Layout Styles */

.adchecker-viewport {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-sizing: border-box;
}

/* Hero Header Banner */
.adchecker-hero-banner {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(236, 72, 153, 0.08) 50%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--card-radius);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-left h1 {
    font-size: 2rem;
    font-weight: 900;
    margin: 6px 0;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hero-left p {
    margin: 0;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.neon-pill-tag {
    font-size: 0.7rem;
    font-weight: 800;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 3px 10px;
    border-radius: 9999px;
}

/* Action Button */
.neon-action-btn {
    position: relative;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #c026d3 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 14px 30px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.neon-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.neon-action-btn:active {
    transform: translateY(0);
}

.neon-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Device Metadata Bar */
.device-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 18px;
}

.info-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
}

.info-label {
    color: #64748b;
    font-weight: 700;
}

.info-value {
    color: #38bdf8;
    font-weight: 700;
    font-family: var(--font-mono);
}

.ua-pill {
    flex: 1 1 100%;
}

.ua-text {
    font-size: 0.72rem;
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Chrome Recommended Banner Box */
.chrome-recommend-box {
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.chrome-icon {
    font-size: 26px;
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chrome-info strong {
    display: block;
    font-size: 0.9rem;
    color: #38bdf8;
    margin-bottom: 2px;
}

.chrome-info p {
    margin: 0;
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.4;
}

/* Status Strip Bar */
.status-strip {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    scroll-margin-top: 180px;
}

.status-strip.scanning {
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.status-strip.complete {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.08);
}

.status-strip.warning {
    border-color: #f43f5e;
    background: rgba(244, 63, 94, 0.08);
}

.status-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
}

/* Diagnostic Cards Grid */
.diagnostic-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    width: 100%;
}

.diagnostic-card {
    position: relative;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--card-radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    backdrop-filter: blur(16px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.diagnostic-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.4);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon-box.cyan { 
    background: rgba(6, 182, 212, 0.15); 
    border-color: rgba(6, 182, 212, 0.3); 
    color: #22d3ee;
}

.card-icon-box.magenta { 
    background: rgba(217, 70, 239, 0.15); 
    border-color: rgba(217, 70, 239, 0.3); 
    color: #e879f9;
}

.card-body h3 {
    margin: 0 0 6px 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}

.card-body p {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 800;
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.status-badge.idle { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #64748b; }
.status-badge.loading { background: rgba(56, 189, 248, 0.15); border: 1px solid rgba(56, 189, 248, 0.4); color: #38bdf8; }
.status-badge.clean { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.5); color: #34d399; }
.status-badge.blocked { background: rgba(244, 63, 94, 0.15); border: 1px solid rgba(244, 63, 94, 0.5); color: #fb7185; }

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Unblocking Guide Accordion */
.unblock-guide-wrapper {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--card-radius);
    padding: 24px;
    backdrop-filter: blur(12px);
    scroll-margin-top: 180px;
}

.guide-header h2 {
    margin: 0 0 4px 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.guide-header p {
    margin: 0 0 18px 0;
    font-size: 0.88rem;
    color: #94a3b8;
}

.guide-accordion-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guide-item {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.guide-item[open] {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.guide-summary {
    padding: 14px 18px;
    font-weight: 700;
    font-size: 0.92rem;
    color: #f8fafc;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    user-select: none;
}

.summary-icon {
    font-size: 1.1rem;
    color: #38bdf8;
    width: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.acc-chevron {
    margin-left: auto;
    font-size: 12px;
    color: #64748b;
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
}

.guide-item[open] .acc-chevron {
    transform: rotate(90deg);
    color: #38bdf8;
}

.guide-content {
    padding: 0 18px 16px 48px;
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.guide-content ol {
    margin: 0;
    padding-left: 18px;
}

.guide-content code {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
}

@media (max-width: 868px) {
    .adchecker-hero-banner {
        flex-direction: column;
        text-align: center;
    }
    .diagnostic-grid-container {
        grid-template-columns: 1fr;
    }
}