/* Email Health Check Tool Styles */
.email-health-page {
    --email-primary: #1062fe;
    --email-primary-dark: #083fbf;
    --email-secondary: #f6a21e;
    --email-success: #36c055;
    --email-warning: #ffaa00;
    --email-danger: #d92632;
    --email-info: #1d65af;
    --email-dark: #17191c;
    --email-gray-dark: #2b2f36;
    --email-gray: #5e636e;
    --email-gray-light: #e9eaec;
    --email-white: #ffffff;
    --email-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --email-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --email-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --email-radius-sm: 8px;
    --email-radius-md: 12px;
    --email-radius-lg: 16px;
    --email-radius-xl: 20px;
    --email-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.email-health-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.email-health-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--email-gray-dark);
    position: relative;
    min-height: calc(100vh - 200px);
}

/* Background */
.email-health-page .email-background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.email-health-page .email-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(16, 98, 254, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(246, 162, 30, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
    filter: blur(100px);
    animation: email-gradientShift 20s ease-in-out infinite;
}

@keyframes email-gradientShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -20px) scale(1.1); }
    66% { transform: translate(20px, -10px) scale(0.9); }
}

/* Floating Elements */
.email-health-page .email-floating-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(15px);
}

@keyframes email-floatDynamic1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    20% { transform: translate(-40px, -60px) scale(1.2) rotate(90deg); }
    40% { transform: translate(60px, -20px) scale(0.8) rotate(180deg); }
    60% { transform: translate(-20px, 40px) scale(1.1) rotate(270deg); }
    80% { transform: translate(40px, 20px) scale(0.9) rotate(360deg); }
}

@keyframes email-floatDynamic2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.3); }
    50% { transform: translate(-60px, -50px) scale(0.7); }
    75% { transform: translate(30px, 60px) scale(1.15); }
}

.email-health-page .email-floating-circle:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(16, 98, 254, 0.8), 
        rgba(16, 98, 254, 0.4) 50%, 
        rgba(16, 98, 254, 0.1));
    animation: email-floatDynamic1 18s ease-in-out infinite;
}

.email-health-page .email-floating-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    background: radial-gradient(circle at 40% 40%, 
        rgba(246, 162, 30, 0.8), 
        rgba(246, 162, 30, 0.4) 50%, 
        rgba(246, 162, 30, 0.1));
    animation: email-floatDynamic2 22s ease-in-out infinite reverse;
}

.email-health-page .email-floating-circle:nth-child(3) {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(16, 98, 254, 0.7), 
        rgba(246, 162, 30, 0.3) 70%);
    animation: email-floatDynamic1 15s ease-in-out infinite;
    animation-delay: -5s;
}

.email-health-page .email-floating-circle:nth-child(4) {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle at 60% 60%, 
        rgba(246, 162, 30, 0.6), 
        rgba(246, 162, 30, 0.2));
    animation: email-floatDynamic2 20s ease-in-out infinite;
    animation-delay: -10s;
}

.email-health-page .email-floating-circle:nth-child(5) {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    background: linear-gradient(45deg, 
        rgba(16, 98, 254, 0.6), 
        rgba(246, 162, 30, 0.4));
    animation: email-floatDynamic1 25s ease-in-out infinite reverse;
    animation-delay: -15s;
}

.email-health-page .email-floating-circle:nth-child(6) {
    width: 60px;
    height: 60px;
    bottom: 40%;
    right: 10%;
    background: radial-gradient(circle at 70% 70%, 
        rgba(16, 98, 254, 0.8), 
        rgba(16, 98, 254, 0.2));
    animation: email-floatDynamic2 12s ease-in-out infinite;
    animation-delay: -7s;
}

/* Main Container */
.email-health-page .email-main-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Hero Section */
.email-health-page .email-hero-section {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: var(--email-radius-xl);
    box-shadow: var(--email-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.email-health-page .email-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 98, 254, 0.05) 0%, transparent 70%);
    animation: email-rotate 30s linear infinite;
}

@keyframes email-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.email-health-page .email-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--email-dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.email-health-page .email-hero-title span {
    background: linear-gradient(135deg, var(--email-primary) 0%, var(--email-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.email-health-page .email-hero-description {
    font-size: 1.25rem;
    color: var(--email-gray-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.email-health-page .email-hero-subdescription {
    color: var(--email-gray);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.email-health-page .email-hero-subdescription p {
    margin-bottom: 1rem;
}

.email-health-page .email-hero-subdescription p:last-child {
    margin-bottom: 0;
}

.email-health-page .email-hero-checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
    display: inline-block;
}

.email-health-page .email-hero-checklist li {
    padding: 0.375rem 0;
    color: var(--email-gray-dark);
}

/* Hero Trust Signals */
.email-health-page .email-hero-trust {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--email-gray);
    flex-wrap: wrap;
}

.email-health-page .trust-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.email-health-page .trust-icon {
    font-size: 1rem;
    opacity: 0.8;
}

.email-health-page .trust-divider {
    color: var(--email-gray-light);
    font-weight: 300;
}

@media (max-width: 768px) {
    .email-health-page .email-hero-trust {
        font-size: 0.8rem;
        gap: 0.75rem;
    }
    
    .email-health-page .trust-divider {
        display: none;
    }
    
    .email-health-page .trust-item {
        flex-basis: 100%;
        justify-content: center;
    }
}

/* Search Section */
.email-health-page .email-search-section {
    margin-bottom: 3rem;
}

.email-health-page .email-search-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--email-radius-xl);
    box-shadow: var(--email-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}
/* Compact Email Hosting Promotion */
.email-health-page .email-hosting-compact {
    margin: 2rem 0;
}

.email-health-page .email-hosting-wrapper {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(16, 98, 254, 0.12);
    border-radius: var(--email-radius-lg);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient accent */
.email-health-page .email-hosting-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--email-primary) 0%, 
        var(--email-secondary) 100%);
}

.email-health-page .email-hosting-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.email-health-page .email-hosting-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, 
        rgba(16, 98, 254, 0.08) 0%, 
        rgba(16, 98, 254, 0.04) 100%);
    border-radius: var(--email-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-health-page .email-hosting-title {
    flex: 1;
}

.email-health-page .email-hosting-title h4 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--email-dark);
    font-weight: 600;
}

.email-health-page .email-hosting-title p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--email-gray);
}

.email-health-page .email-hosting-price {
    text-align: right;
}

.email-health-page .price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--email-gray);
    margin-bottom: 0.125rem;
}

.email-health-page .price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--email-primary);
}

.email-health-page .price-period {
    font-size: 0.875rem;
    color: var(--email-gray);
}

.email-health-page .email-hosting-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.email-health-page .hosting-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--email-gray-dark);
}

.email-health-page .hosting-feature.highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, 
        rgba(54, 192, 85, 0.05) 0%, 
        rgba(54, 192, 85, 0.02) 100%);
    padding: 0.5rem 0.75rem;
    border-radius: var(--email-radius-sm);
    border: 1px solid rgba(54, 192, 85, 0.2);
}

.email-health-page .feature-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.email-health-page .email-hosting-link {
    display: inline-block;
    color: var(--email-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.email-health-page .email-hosting-link:hover {
    color: var(--email-primary-dark);
    transform: translateX(2px);
}

/* Responsive */
@media (max-width: 768px) {
    .email-health-page .email-hosting-header {
        flex-wrap: wrap;
    }
    
    .email-health-page .email-hosting-price {
        width: 100%;
        text-align: left;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
    }
    
    .email-health-page .price-label {
        display: inline;
    }
    
    .email-health-page .email-hosting-features {
        grid-template-columns: 1fr;
    }
}
.email-health-page .email-search-instruction {
    text-align: center;
    color: var(--email-gray-dark);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.email-health-page .email-search-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.email-health-page .email-input-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.email-health-page .email-search-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--email-gray-light);
    border-radius: var(--email-radius-md);
    font-size: 1.1rem;
    background: var(--email-white);
    transition: var(--email-transition);
}

.email-health-page .email-search-input:focus {
    outline: none;
    border-color: var(--email-primary);
    box-shadow: 0 0 0 4px rgba(16, 98, 254, 0.1);
}

.email-health-page .email-search-button {
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--email-primary) 0%, var(--email-primary-dark) 100%);
    color: var(--email-white);
    border: none;
    border-radius: var(--email-radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--email-transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-health-page .email-search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 98, 254, 0.3);
}

/* Score Card */
.email-health-page .email-score-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--email-radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--email-shadow-md);
}

.email-health-page .email-critical-warning {
    background: linear-gradient(135deg, rgba(217, 38, 50, 0.1) 0%, rgba(217, 38, 50, 0.05) 100%);
    border: 2px solid rgba(217, 38, 50, 0.3);
    border-radius: var(--email-radius-md);
    padding: 1rem 1.5rem;
    margin: 1rem 0 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.email-health-page .email-critical-warning .warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.email-health-page .email-critical-warning .warning-content strong {
    display: block;
    color: #b71f29;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.email-health-page .email-critical-warning .warning-content p {
    color: var(--email-gray-dark);
    margin: 0;
    font-size: 0.95rem;
}

.email-health-page .email-score-header {
    text-align: center;
    margin-bottom: 2rem;
}

.email-health-page .email-score-header h2 {
    font-size: 1.5rem;
    color: var(--email-dark);
}

.email-health-page .email-domain-highlight {
    color: var(--email-primary);
    font-weight: 700;
}

.email-health-page .email-score-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.email-health-page .email-score-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.email-health-page .email-score-svg {
    transform: rotate(-90deg);
}

.email-health-page .email-score-fill {
    transition: stroke-dasharray 1s ease;
    stroke-linecap: round;
}

.email-health-page .email-score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.email-health-page .email-score-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--email-dark);
}

.email-health-page .email-score-label {
    font-size: 0.875rem;
    color: var(--email-gray);
}

.email-health-page .email-score-grade {
    text-align: center;
}

.email-health-page .email-grade-letter {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--email-primary) 0%, var(--email-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.email-health-page .email-grade-letter.grade-fail {
    background: linear-gradient(135deg, #d92632 0%, #b71f29 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.email-health-page .email-grade-text {
    font-size: 1.25rem;
    color: var(--email-gray-dark);
    font-weight: 600;
}

/* Score Breakdown */
.email-health-page .email-score-breakdown {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--email-gray-light);
}

.email-health-page .email-score-breakdown h4 {
    font-size: 0.875rem;
    color: var(--email-gray);
    
    
    margin-bottom: 1rem;
    text-align: center;
}

.email-health-page .score-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.email-health-page .score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background: rgba(248, 249, 250, 0.5);
    border-radius: var(--email-radius-sm);
}

.email-health-page .score-label {
    font-size: 0.75rem;
    color: var(--email-gray);
    margin-bottom: 0.25rem;
}

.email-health-page .score-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--email-dark);
}

.email-health-page .score-item.score-capped {
    grid-column: 1 / -1;
    background: rgba(217, 38, 50, 0.1);
    border: 1px solid rgba(217, 38, 50, 0.3);
    color: #b71f29;
    font-weight: 600;
}

/* Overview Grid */
.email-health-page .email-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.email-health-page .email-overview-item {
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem;
    border-radius: var(--email-radius-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid transparent;
    transition: var(--email-transition);
}

.email-health-page .email-overview-item.status-good {
    border-color: rgba(54, 192, 85, 0.3);
    background: rgba(54, 192, 85, 0.05);
}

.email-health-page .email-overview-item.status-warning {
    border-color: rgba(255, 170, 0, 0.3);
    background: rgba(255, 170, 0, 0.05);
}

.email-health-page .email-overview-item.status-bad {
    border-color: rgba(217, 38, 50, 0.3);
    background: rgba(217, 38, 50, 0.05);
}

.email-health-page .email-overview-icon {
    font-size: 2rem;
}

.email-health-page .email-overview-text strong {
    display: block;
    color: var(--email-dark);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.email-health-page .email-overview-text span {
    color: var(--email-gray-dark);
    font-size: 0.875rem;
}

/* Detail Cards */
.email-health-page .email-detail-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--email-radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--email-shadow-sm);
    overflow: hidden;
}

.email-health-page .email-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(248, 249, 250, 0.8);
    border-bottom: 1px solid var(--email-gray-light);
}

.email-health-page .email-detail-header h3 {
    font-size: 1.25rem;
    color: var(--email-dark);
    margin: 0;
}

.email-health-page .email-status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: var(--email-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    
}

.email-health-page .badge-success {
    background: rgba(54, 192, 85, 0.15);
    color: #1b7d34;
}

.email-health-page .badge-warning {
    background: rgba(255, 170, 0, 0.15);
    color: #b45309;
}

.email-health-page .badge-danger {
    background: rgba(217, 38, 50, 0.15);
    color: #b71f29;
}

.email-health-page .badge-info {
    background: rgba(29, 101, 175, 0.15);
    color: #0c4a6e;
}

.email-health-page .email-detail-content {
    padding: 1.5rem;
}

.email-health-page .email-success-text {
    color: #1b7d34;
    font-weight: 600;
    margin-bottom: 1rem;
}

.email-health-page .email-error-text {
    color: #b71f29;
    font-weight: 600;
    margin-bottom: 1rem;
}

.email-health-page .email-info-text {
    color: #0c4a6e;
    font-weight: 600;
    margin-bottom: 1rem;
}

.email-health-page .email-record-display {
    background: #f7f8fa;
    padding: 1rem;
    border-radius: var(--email-radius-md);
    margin: 1rem 0;
    font-family: inherit; font-variant-numeric: tabular-nums;
    font-size: 0.9rem;
    word-break: break-all;
}

.email-health-page .email-record-list {
    background: rgba(248, 249, 250, 0.5);
    padding: 1rem;
    border-radius: var(--email-radius-md);
    margin: 1rem 0;
}

.email-health-page .email-record-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--email-gray-light);
}

.email-health-page .email-record-item:last-child {
    border-bottom: none;
}

.email-health-page .email-priority {
    background: var(--email-primary);
    color: var(--email-white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--email-radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
}

.email-health-page .email-server {
    font-family: inherit; font-variant-numeric: tabular-nums;
    color: var(--email-gray-dark);
}

/* SPF Analysis */
.email-health-page .email-spf-analysis {
    background: rgba(248, 249, 250, 0.5);
    padding: 1.5rem;
    border-radius: var(--email-radius-md);
    margin: 1rem 0;
}

.email-health-page .email-spf-analysis h4 {
    font-size: 1rem;
    color: var(--email-dark);
    margin-bottom: 1rem;
}

.email-health-page .email-server-list {
    list-style: none;
    padding: 0;
}

.email-health-page .email-server-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--email-gray-light);
}

.email-health-page .email-server-list li:last-child {
    border-bottom: none;
}

.email-health-page .server-type {
    font-weight: 600;
    color: var(--email-primary);
    margin-right: 0.5rem;
}

.email-health-page .server-value {
    font-family: inherit; font-variant-numeric: tabular-nums;
    color: var(--email-dark);
    margin-right: 1rem;
}

.email-health-page .server-desc {
    color: var(--email-gray);
    font-size: 0.875rem;
}

.email-health-page .email-policy-info {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--email-radius-sm);
}

.email-health-page .policy-fail {
    color: #1b7d34;
    font-weight: 600;
}

.email-health-page .policy-softfail {
    color: #1b7d34;
    font-weight: 600;
}

.email-health-page .policy-neutral {
    color: var(--email-gray-dark);
    font-weight: 600;
}

.email-health-page .policy-pass {
    color: #b71f29;
    font-weight: 600;
}

/* DMARC Details */
.email-health-page .email-dmarc-details {
    background: rgba(248, 249, 250, 0.5);
    padding: 1.5rem;
    border-radius: var(--email-radius-md);
    margin: 1rem 0;
}

.email-health-page .dmarc-setting {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--email-gray-light);
}

.email-health-page .dmarc-setting:last-child {
    border-bottom: none;
}

.email-health-page .dmarc-setting strong {
    color: var(--email-primary);
    margin-right: 1rem;
}

.email-health-page .dmarc-explain {
    display: block;
    color: var(--email-gray);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Inline Recommendations */
.email-health-page .email-recommendation-inline {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 193, 7, 0.02) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--email-radius-md);
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.email-health-page .email-recommendation-inline .rec-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.email-health-page .email-recommendation-inline .rec-content strong {
    display: block;
    color: var(--email-dark);
    margin-bottom: 0.5rem;
}

.email-health-page .email-recommendation-inline .rec-content p {
    color: var(--email-gray-dark);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.email-health-page .email-recommendation-inline code {
    background: #f7f8fa;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-family: inherit; font-variant-numeric: tabular-nums;
    font-size: 0.875rem;
}

/* DMARC Monitor Mode Warning - Extra prominent orange styling */
.email-health-page .email-recommendation-inline.dmarc-monitor-warning {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.15) 0%, rgba(255, 170, 0, 0.08) 100%);
    border: 2px solid rgba(255, 170, 0, 0.6);
    box-shadow: 0 4px 12px rgba(255, 170, 0, 0.2);
}

.email-health-page .dmarc-monitor-warning .rec-icon {
    color: #ff6f00;
    font-size: 2rem;
}

.email-health-page .dmarc-monitor-warning .rec-content strong {
    color: #b45309;
    font-size: 1.1rem;
    font-weight: 700;
}

.email-health-page .dmarc-monitor-warning .rec-content p {
    font-weight: 600;
}

/* Learn More Links */
.email-health-page .email-learn-more {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--email-gray-light);
}

.email-health-page .email-learn-more a {
    color: var(--email-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--email-transition);
}

.email-health-page .email-learn-more a:hover {
    color: var(--email-primary-dark);
    text-decoration: underline;
}

/* Blacklist Results */
.email-health-page .blacklist-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.email-health-page .blacklist-item {
    padding: 1rem;
    border-radius: var(--email-radius-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-health-page .blacklist-item.clean {
    background: rgba(54, 192, 85, 0.1);
    border: 1px solid rgba(54, 192, 85, 0.3);
}

.email-health-page .blacklist-item.listed {
    background: rgba(217, 38, 50, 0.1);
    border: 1px solid rgba(217, 38, 50, 0.3);
}

.email-health-page .bl-icon {
    font-weight: 700;
    font-size: 1.25rem;
}

.email-health-page .bl-name {
    flex: 1;
    font-weight: 600;
}

.email-health-page .bl-status {
    font-size: 0.75rem;
    font-weight: 700;
    
}

/* Help Box */
.email-health-page .email-help-box {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--email-radius-md);
    padding: 1rem;
    margin: 1rem 0;
}

.email-health-page .email-help-box strong {
    color: #e08e00;
}

.email-health-page .email-help-box code {
    display: block;
    background: #f7f8fa;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border-radius: var(--email-radius-sm);
    font-family: inherit; font-variant-numeric: tabular-nums;
    font-size: 0.875rem;
}

/* Critical Box */
.email-health-page .email-critical-box {
    background: linear-gradient(135deg, rgba(217, 38, 50, 0.15) 0%, rgba(217, 38, 50, 0.1) 100%);
    border: 2px solid rgba(217, 38, 50, 0.4);
    border-radius: var(--email-radius-md);
    padding: 1rem;
    margin: 1rem 0;
}

.email-health-page .email-critical-box strong {
    display: block;
    color: #b71f29;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.email-health-page .email-critical-box p {
    color: var(--email-gray-dark);
    margin: 0;
    font-weight: 600;
}

/* Recommendations */
.email-health-page .email-recommendations {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--email-radius-xl);
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: var(--email-shadow-md);
}

.email-health-page .email-recommendations h3 {
    font-size: 1.5rem;
    color: var(--email-dark);
    margin-bottom: 1.5rem;
}

.email-health-page .recommendations-grid {
    display: grid;
    gap: 1rem;
}

.email-health-page .recommendation-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--email-radius-md);
    border: 1px solid var(--email-gray-light);
}

.email-health-page .recommendation-item.priority-high {
    background: rgba(217, 38, 50, 0.05);
    border-color: rgba(217, 38, 50, 0.3);
}

.email-health-page .recommendation-item.priority-medium {
    background: rgba(255, 170, 0, 0.05);
    border-color: rgba(255, 170, 0, 0.3);
}

.email-health-page .recommendation-item.priority-low {
    background: rgba(29, 101, 175, 0.05);
    border-color: rgba(29, 101, 175, 0.3);
}

.email-health-page .rec-icon {
    font-size: 1.5rem;
}

.email-health-page .rec-content strong {
    display: block;
    color: var(--email-dark);
    margin-bottom: 0.25rem;
}

.email-health-page .rec-content p {
    color: var(--email-gray-dark);
    margin: 0;
    font-size: 0.875rem;
}

/* Info Section */
.email-health-page .email-info-section {
    margin-top: 4rem;
}

.email-health-page .email-info-header {
    text-align: center;
    margin-bottom: 3rem;
}

.email-health-page .email-info-title {
    font-size: 2rem;
    color: var(--email-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.email-health-page .email-info-subtitle {
    color: var(--email-gray);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

.email-health-page .email-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.email-health-page .email-info-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--email-radius-lg);
    box-shadow: var(--email-shadow-md);
}

.email-health-page .email-info-card h3 {
    font-size: 1.25rem;
    color: var(--email-dark);
    margin-bottom: 1rem;
}

.email-health-page .email-info-card p {
    color: var(--email-gray-dark);
    line-height: 1.7;
}

.email-health-page .email-info-box {
    background: linear-gradient(135deg, #eef3ff 0%, #eef3ff 100%);
    padding: 2rem;
    border-radius: var(--email-radius-lg);
    border: 1px solid rgba(16, 98, 254, 0.1);
}

.email-health-page .email-info-box h4 {
    font-size: 1.25rem;
    color: var(--email-dark);
    margin-bottom: 1rem;
}

.email-health-page .email-info-box p {
    color: var(--email-gray-dark);
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .email-health-page .email-search-form {
        flex-direction: column;
    }
    
    .email-health-page .email-input-wrapper {
        width: 100%;
        min-width: auto;
    }
    
    .email-health-page .email-search-button {
        width: 100%;
        justify-content: center;
    }
    
    .email-health-page .email-score-display {
        flex-direction: column;
        gap: 2rem;
    }
    
    .email-health-page .email-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .email-health-page .blacklist-results {
        grid-template-columns: 1fr;
    }
}
/* Privacy Warning Section */
.email-health-page .email-privacy-warning {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.05) 0%, rgba(255, 170, 0, 0.02) 100%);
    border: 2px solid rgba(255, 170, 0, 0.2);
    border-radius: var(--email-radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
}

.email-health-page .privacy-warning-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.email-health-page .privacy-icon {
    font-size: 1.5rem;
}

.email-health-page .privacy-warning-header h3 {
    margin: 0;
    color: var(--email-dark);
    font-size: 1.25rem;
}

.email-health-page .privacy-alert {
    background: rgba(255, 170, 0, 0.1);
    border-left: 3px solid #ffaa00;
    padding: 1rem;
    border-radius: var(--email-radius-sm);
    margin-bottom: 1rem;
}

.email-health-page .privacy-alert strong {
    display: block;
    color: #b45309;
    margin-bottom: 0.5rem;
}

.email-health-page .privacy-issues {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.email-health-page .privacy-issue {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.email-health-page .issue-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.email-health-page .privacy-issue strong {
    display: block;
    color: var(--email-dark);
    font-size: 0.95rem;
}

.email-health-page .privacy-issue span {
    color: var(--email-gray);
    font-size: 0.875rem;
}

.email-health-page .privacy-solution {
    background: rgba(16, 98, 254, 0.05);
    padding: 1rem;
    border-radius: var(--email-radius-sm);
    margin-top: 1rem;
}

.email-health-page .privacy-solution p {
    margin: 0;
    color: var(--email-gray-dark);
}

.email-health-page .privacy-solution a {
    color: var(--email-primary);
    font-weight: 600;
    text-decoration: none;
}

.email-health-page .privacy-solution a:hover {
    text-decoration: underline;
}

/* Score penalty styling */
.email-health-page .score-item.score-penalty {
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
}

.email-health-page .score-item.score-penalty .score-value {
    color: #b45309;
    font-weight: 700;
}

/* Breadcrumb Navigation */
.email-health-page .email-breadcrumb {
    margin: 1.5rem 0;
    padding: 0 1rem;
}

.email-health-page .email-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.email-health-page .email-breadcrumb li {
    display: flex;
    align-items: center;
}

.email-health-page .email-breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 0.75rem;
    color: var(--email-gray);
    font-weight: 400;
}

.email-health-page .email-breadcrumb a {
    color: var(--email-primary);
    text-decoration: none;
    transition: var(--email-transition);
}

.email-health-page .email-breadcrumb a:hover {
    color: var(--email-primary-dark);
    text-decoration: underline;
}

.email-health-page .email-breadcrumb li:last-child span {
    color: var(--email-gray-dark);
    font-weight: 600;
}

/* FAQ Section Styles */
.email-health-page .email-faq-section {
    margin-top: 4rem;
    padding: 4rem 0;
}

.email-health-page .email-faq-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--email-radius-xl);
    padding: 3rem;
    box-shadow: var(--email-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.email-health-page .email-faq-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--email-dark);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.email-health-page .email-faq-subtitle {
    text-align: center;
    color: var(--email-gray);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.email-health-page .email-faq-accordion {
    display: grid;
    gap: 1rem;
}

.email-health-page .email-faq-item {
    background: rgba(248, 249, 250, 0.5);
    border: 1px solid var(--email-gray-light);
    border-radius: var(--email-radius-lg);
    overflow: hidden;
    transition: var(--email-transition);
}

.email-health-page .email-faq-item:hover {
    border-color: var(--email-primary);
    box-shadow: 0 4px 12px rgba(16, 98, 254, 0.1);
}

.email-health-page .email-faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.5rem;
    font-size: 1.125rem;
    color: var(--email-dark);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.email-health-page .email-faq-question:hover {
    background-color: rgba(16, 98, 254, 0.05);
}

.email-health-page .faq-toggle {
    margin-left: auto;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--email-primary);
    transition: transform 0.3s ease;
}

.email-health-page .faq-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.email-health-page .email-faq-answer {
    color: var(--email-gray-dark);
    line-height: 1.7;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.email-health-page .email-faq-question[aria-expanded="true"] + .email-faq-answer {
    padding-bottom: 1.5rem;
}

.email-health-page .email-faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.email-health-page .email-faq-answer p {
    margin-bottom: 1rem;
}

.email-health-page .email-faq-answer p:last-child {
    margin-bottom: 0;
}

.email-health-page .email-faq-answer ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.email-health-page .email-faq-answer li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.email-health-page .email-faq-answer li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--email-success);
    font-weight: 700;
}

.email-health-page .email-faq-answer strong {
    color: var(--email-dark);
}

.email-health-page .email-faq-answer code {
    background: #f7f8fa;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-family: inherit; font-variant-numeric: tabular-nums;
    font-size: 0.875rem;
    color: var(--email-primary-dark);
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .email-health-page .email-faq-container {
        padding: 2rem 1.5rem;
    }
    
    .email-health-page .email-faq-question {
        font-size: 1rem;
    }
    
    .email-health-page .faq-icon {
        font-size: 1.25rem;
    }
}

/* What We Test Section */
.email-health-page .email-test-section {
    margin-top: 4rem;
    padding: 2rem 0;
}

.email-health-page .email-test-header {
    text-align: center;
    margin-bottom: 3rem;
}

.email-health-page .email-test-title {
    font-size: 2rem;
    color: var(--email-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.email-health-page .email-test-subtitle {
    color: var(--email-gray);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

.email-health-page .email-test-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.email-health-page .email-test-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--email-radius-lg);
    box-shadow: var(--email-shadow-md);
    text-align: center;
    transition: var(--email-transition);
}

.email-health-page .email-test-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--email-shadow-lg);
}

.email-health-page .test-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.email-health-page .email-test-card h3 {
    font-size: 1.25rem;
    color: var(--email-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.email-health-page .email-test-card p {
    color: var(--email-gray-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Test Grid */
@media (max-width: 1200px) {
    .email-health-page .email-test-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .email-health-page .email-test-grid {
        grid-template-columns: 1fr;
    }
    
    .email-health-page .email-test-card {
        padding: 1.5rem;
    }
}

/* Huisstijl-retheme 2026-08-11: merkpalet + decor uit; markup onaangeroerd. */
.email-health-page .email-background-wrapper { display: none; }
