/* ─── Page-specific styles ─── */
.ip-hero {
    background: radial-gradient(ellipse at top, rgba(41,98,255,0.12), transparent 65%);
    padding: 160px 0 60px;
    text-align: center;
}

.ip-hero .big-ip {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    min-height: 80px;
}

.ip-hero .flag-emoji { font-size: 3.5rem; }

.copy-btn {
    background: rgba(41,98,255,0.12);
    border: 1px solid rgba(41,98,255,0.3);
    color: var(--primary-light);
    border-radius: 10px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    vertical-align: middle;
}
.copy-btn:hover { background: var(--primary); color: white; }

/* ─── Main unified panel ─── */
.panel-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.main-panel {
    border-radius: 32px;
    overflow: hidden;
    border: 1.5px solid var(--glass-border);
    background: rgba(255,255,255,0.025);
    backdrop-filter: blur(20px);
    margin-bottom: 30px;
}

/* 2-column grid for each section's rows */
.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.panel-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    border-right: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
    min-height: 80px;
    gap: 8px;
}
/* Remove right border on even items (right column) */
.panel-row:nth-child(even) { border-right: none; }
.panel-row:hover { background: rgba(255,255,255,0.02); }

.row-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.row-label i { width: 14px; color: #4f7fff; font-size: 0.8rem; }

.row-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    word-break: break-all;
}
.row-value.muted { color: var(--text-muted); font-weight: 500; }

.status-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.dot-green { background: #10b981; box-shadow: 0 0 6px #10b981; }
.dot-red   { background: #ef4444; box-shadow: 0 0 6px #ef4444; }
.dot-yellow{ background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }

.section-divider {
    grid-column: 1 / -1;
    background: rgba(41,98,255,0.05);
    padding: 12px 30px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4f7fff;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Score row spans full width */
.panel-row.full-width {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    border-right: none;
}

/* ─── Score bar ─── */
.score-bar-wrap {
    background: rgba(255,255,255,0.04);
    border-radius: 50px;
    height: 10px;
    overflow: hidden;
    flex: 1;
}
.score-bar-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
    background-size: 200% 100%;
    transition: width 1s ease;
}

/* ─── Spinner ─── */
.spin { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── CTA card ─── */
.cta-bar {
    padding: 50px 40px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(41,98,255,0.1), rgba(41,98,255,0.04));
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
}

@media (max-width: 700px) {
    .panel-grid { grid-template-columns: 1fr; }
    .panel-row { border-right: none; }
    .ip-hero .big-ip { font-size: 2.2rem; }
}