/* Specific styles for VPN Tester */
.vpn-progress-tracker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 20px;
}

.vpn-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.vpn-progress-step.active,
.vpn-progress-step.complete {
    opacity: 1;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 8px;
    border: 2px solid #d1d5db;
    transition: all 0.3s ease;
}

.vpn-progress-step.active .step-circle {
    background: #fff;
    border-color: #3b82f6;
    color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.vpn-progress-step.complete .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
}

.vpn-progress-line {
    flex-grow: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 10px;
    position: relative;
    top: -14px;
    z-index: 1;
}

.vpn-start-card,
.vpn-summary-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto 40px;
}

.developer-mode .vpn-start-card,
.developer-mode .vpn-summary-card {
    background: #1f2937;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

.vpn-start-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.vpn-tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.vpn-test-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.developer-mode .vpn-test-card {
    background: #1f2937;
    border-color: #374151;
}

.vpn-test-card.running {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.vpn-test-card.pass {
    border-color: #10b981;
}

.vpn-test-card.fail {
    border-color: #ef4444;
}

.card-header {
    padding: 15px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.developer-mode .card-header {
    background: #111827;
    border-color: #374151;
}

.card-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.test-status-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
}

.test-status-badge.running {
    background: #dbeafe;
    color: #2563eb;
}

.test-status-badge.pass {
    background: #d1fae5;
    color: #059669;
}

.test-status-badge.fail {
    background: #fee2e2;
    color: #dc2626;
}

.test-status-badge.warning {
    background: #fef3c7;
    color: #d97706;
}

.developer-mode .test-status-badge.running {
    background: rgba(37, 99, 235, 0.2);
}

.developer-mode .test-status-badge.pass {
    background: rgba(5, 150, 105, 0.2);
}

.developer-mode .test-status-badge.fail {
    background: rgba(220, 38, 38, 0.2);
}

.developer-mode .test-status-badge.warning {
    background: rgba(217, 119, 6, 0.2);
}

.card-body {
    padding: 20px;
}

.privacy-score {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.privacy-score.good {
    color: #10b981;
}

.privacy-score.warning {
    color: #f59e0b;
}

.privacy-score.bad {
    color: #ef4444;
}

.summary-item {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    background: #f9fafb;
    margin-bottom: 8px;
    border-radius: 8px;
    text-align: left;
}

.developer-mode .summary-item {
    background: #111827;
}

.summary-item-icon {
    font-size: 1.2rem;
    margin-right: 12px;
}

.summary-details {
    margin: 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .primary-btn {
    border-radius: 999px;
}

#test-again-btn {
    background: #f8fafc;
    border: 1px solid #d1d5db;
    color: #1f2937;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#test-again-btn:hover {
    background: #ffffff;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

.developer-mode #test-again-btn {
    background: #111827;
    border-color: #374151;
    color: #e5e7eb;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.developer-mode #test-again-btn:hover {
    background: #0b1220;
    border-color: #4b5563;
}

@media (max-width: 640px) {
    .vpn-progress-tracker {
        flex-wrap: wrap;
        gap: 12px 8px;
        justify-content: center;
        padding: 0;
    }

    .vpn-progress-line {
        display: none;
    }

    .vpn-progress-step {
        width: 30%;
    }

    .step-label {
        text-align: center;
    }

    .cta-section {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #test-again-btn {
        margin-bottom: 0;
    }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
}

.developer-mode .info-card {
    background: #1f2937;
}

.info-card h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #1f2937;
}

.developer-mode .info-card h3 {
    color: #f3f4f6;
}

/* DNS Server Item */
.dns-server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9em;
}

.developer-mode .dns-server-item {
    border-color: #374151;
}

.dns-server-ip {
    font-family: monospace;
    font-weight: 600;
}

.dns-server-hits {
    background: #e5e7eb;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
}

.developer-mode .dns-server-hits {
    background: #374151;
    color: #e5e7eb;
}
