* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.content {
    padding: 40px;
}

.input-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
}

.analyze-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.analyze-btn:hover {
    transform: translateY(-2px);
}

.analyze-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.progress-section {
    display: none;
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e1e5e9;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
}

.results {
    display: none;
}

.service-category {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.category-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e1e5e9;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.service-list {
    padding: 20px;
}

.service-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid #667eea;
}

.service-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.service-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.service-records {
    background: #e9ecef;
    padding: 12px;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.85rem;
    color: #495057;
    overflow-x: auto;
}

.service-records strong {
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #2c3e50;
    display: inline-block;
    font-size: medium;
}

/* Third-party DMARC service styling */
.service-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid #667eea;
}

.service-card.third-party-dmarc {
    background: #fff8e1;
    border-left: 4px solid #ff6b35;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
    position: relative;
}

.service-card.third-party-dmarc::before {
    content: "⚠️ THIRD-PARTY";
    position: absolute;
    top: -5px;
    right: 8px;
    background: #ff6b35;
    color: white;
    padding: 2px 8px;
    border-radius: 0 0 4px 4px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.service-card h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
}

.service-card.third-party-dmarc h3 {
    color: #d63031;
    font-weight: 600;
}

.service-card .service-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card.third-party-dmarc .service-description {
    color: #b33c00;
    font-weight: 500;
}

/* Third-party email service styling (DKIM-detected) */
.service-card.third-party-email {
    background: #e8f5e8;
    border-left: 4px solid #28a745;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1);
    position: relative;
}

.service-card.third-party-email::before {
    content: "📧 EMAIL SERVICE";
    position: absolute;
    top: -5px;
    right: 8px;
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 0 0 4px 4px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.service-card.third-party-email h3 {
    color: #155724;
    font-weight: 600;
}

.service-card.third-party-email .service-description {
    color: #0d4521;
    font-weight: 500;
}

/* DKIM parsed info styling */
.dkim-parsed {
    background: #f8f9fa;
    padding: 8px;
    margin: 8px 0;
    border-radius: 4px;
    border-left: 3px solid #28a745;
    font-size: 0.9rem;
    color: #495057;
}

.dkim-parsed strong {
    color: #1a202c;
}

/* Export Section Styling */
.export-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    color: white;
    text-align: center;
}

.export-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.export-header p {
    margin: 0 0 20px 0;
    opacity: 0.9;
    font-size: 1rem;
}

.export-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.export-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 15px 25px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.export-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.export-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.export-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.export-icon {
    font-size: 1.2rem;
}

.export-text {
    font-weight: 600;
}

.export-pdf:hover {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.2);
}

.export-xlsx:hover {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.2);
}

.export-json:hover {
    border-color: #f39c12;
    background: rgba(243, 156, 18, 0.2);
}

/* Mobile responsiveness for export buttons */
@media (max-width: 768px) {
    .export-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .export-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .export-section {
        margin: 15px 0;
        padding: 20px 15px;
    }
}

.risk-section h4 {
    font-size: medium;
    margin-bottom: 10px;
}

.security-issues {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.security-issues .service-name {
    color: #333;
}

.service-header {
    margin-top: 2em;
}

.historical-record .service-name {
    color: #6c757d;
}

.historical-record {
    border-left: 4px solid #6c757d;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 16px;
    color: #721c24;
    margin-bottom: 20px;
}

.api-notification {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.api-notification.success {
    border-left: 4px solid #28a745;
}

.api-notification.warning {
    border-left: 4px solid #ffc107;
}

.api-notification.error {
    border-left: 4px solid #dc3545;
}

.api-name {
    font-weight: 600;
    min-width: 120px;
}

.api-message {
    flex: 1;
    margin: 0 12px;
}

.api-time {
    color: #666;
    font-size: 0.8rem;
}

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

.stat-card {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    cursor: help;
    transition: all 0.2s ease;
}

.stat-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Tooltip styles */
.stat-card .tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    text-align: left;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s, visibility 0.3s;
    max-width: 500px;
    min-width: 250px;
    white-space: normal;
}

.stat-card .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.stat-card:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .content {
        padding: 20px;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
}

/* Footer styling */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section h4 {
    color: #ecf0f1;
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #2980b9;
}

.footer-note {
    font-size: 0.9rem;
    font-style: italic;
    color: #95a5a6;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    margin-top: 30px;
    color: #bdc3c7;
}

/* Data Sovereignty Analysis Styles */
.sovereignty-disclaimer {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #856404;
}

.disclaimer-icon {
    font-size: 1.2rem;
}

.disclaimer-header strong {
    font-size: 1.1rem;
    color: #856404;
}

.disclaimer-content p {
    color: #856404;
    margin-bottom: 12px;
    line-height: 1.5;
}

.disclaimer-list {
    margin: 15px 0;
    padding-left: 20px;
    color: #856404;
}

.disclaimer-list li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.disclaimer-list li strong {
    color: #664d03;
}

.disclaimer-recommendation {
    background: rgba(255, 255, 255, 0.7);
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
    margin-top: 15px;
    font-size: 0.95rem;
}

.disclaimer-recommendation strong {
    color: #664d03;
}

.sovereignty-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid #007bff;
}

.sovereignty-stat {
    text-align: center;
    padding: 15px 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sovereignty-stat .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
}

.sovereignty-stat .stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.sovereignty-section {
    margin-bottom: 30px;
}

.sovereignty-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

/* Compliance Alerts */
.sovereignty-alerts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sovereignty-alert {
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 15px;
    align-items: center;
}

.sovereignty-alert.alert-high {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.sovereignty-alert.alert-medium {
    border-left-color: #ffc107;
    background: #fffbf0;
}

.sovereignty-alert.alert-low {
    border-left-color: #28a745;
    background: #f8fff8;
}

.alert-severity {
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
}

.alert-high .alert-severity {
    background: #dc3545;
}

.alert-medium .alert-severity {
    background: #ffc107;
    color: #212529;
}

.alert-low .alert-severity {
    background: #28a745;
}

.alert-message {
    font-weight: 500;
    color: #2c3e50;
}

.alert-type {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.location-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease;
}

.location-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.country-flag {
    font-size: 1.2rem;
}

.country-name {
    font-weight: 600;
    color: #2c3e50;
}

.location-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.location-stat {
    font-size: 0.85rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* Enhanced Location Details */
.location-details {
    margin-bottom: 12px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.location-details:first-of-type {
    border-top: none;
    padding-top: 0;
}

.location-details strong {
    color: #2c3e50;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 6px;
}

.location-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-list li {
    padding: 4px 0;
    font-size: 0.85rem;
    line-height: 1.4;
    border-bottom: 1px solid #f8f9fa;
}

.location-list li:last-child {
    border-bottom: none;
}

.service-name, .subdomain-name {
    color: #495057;
    font-weight: 500;
}

.service-provider {
    color: #6c757d;
    font-size: 0.8rem;
    font-style: italic;
}

.provider-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.provider-tag {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,123,255,0.3);
}

/* Risk Cards */
.risk-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.risk-card {
    background: white;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid;
}

.risk-card.risk-high {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.risk-card.risk-medium {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
}

.risk-card.risk-low {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
}

.risk-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.risk-header .country-flag {
    margin-right: 8px;
}

.risk-header .country-name {
    font-weight: 600;
    color: #2c3e50;
    flex-grow: 1;
}

.risk-level {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    color: white;
}

.risk-high .risk-level {
    background: #dc3545;
}

.risk-medium .risk-level {
    background: #ffc107;
    color: #212529;
}

.risk-low .risk-level {
    background: #28a745;
}

.risk-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.risk-stat {
    font-size: 0.8rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.risk-region, .risk-timezone {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.risk-issues {
    margin-bottom: 12px;
}

.risk-issues strong {
    color: #2c3e50;
    font-size: 0.9rem;
}

.risk-issues ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.risk-issues li {
    font-size: 0.85rem;
    color: #495057;
    margin-bottom: 4px;
    line-height: 1.4;
}

.risk-providers {
    font-size: 0.85rem;
    color: #6c757d;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.risk-providers strong {
    color: #2c3e50;
}

/* Distribution Table */
.distribution-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.distribution-table table {
    width: 100%;
    border-collapse: collapse;
}

.distribution-table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2c3e50;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    font-size: 0.9rem;
}

.distribution-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.85rem;
    color: #495057;
}

.distribution-table tr:hover {
    background: #f8f9fa;
}

.distribution-table .country-flag {
    margin-right: 8px;
}

/* Responsive Design for Sovereignty Analysis */
@media (max-width: 768px) {
    .sovereignty-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .risk-cards {
        grid-template-columns: 1fr;
    }
    
    .sovereignty-alert {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }
    
    .distribution-table {
        overflow-x: auto;
    }
    
    .distribution-table table {
        min-width: 600px;
    }
}

/* About Page Styles */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    color: #667eea;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.about-section h3 {
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
}

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

.api-card {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #667eea;
}

.api-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.api-url {
    color: #666;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    margin-bottom: 10px;
    word-break: break-all;
}

.api-description {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.feature-list li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.tech-item {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}

.tech-item strong {
    color: #667eea;
    display: block;
    margin-bottom: 5px;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.header a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-nav-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* DNS Records Section */
.dns-category {
    margin-bottom: 20px;
}

.dns-category-title {
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.dns-record {
    background: #f8f9ff;
    border: 1px solid #e1e8ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.dns-record:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.dns-record-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.dns-record-type {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.dns-record-name {
    font-weight: 600;
    font-size: 1rem;
    color: #2d3748;
}

.dns-record-description {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.dns-record-data {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 8px;
}

.dns-record-data code {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #2d3748;
    word-break: break-all;
}

.dmarc-parsed {
    background: #e6fffa;
    border: 1px solid #81e6d9;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #234e52;
}

.dmarc-parsed strong {
    color: #1a202c;
}

/* Progressive Status Message */
.progressive-status {
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease-in;
}

.status-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.status-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.status-text {
    flex: 1;
    line-height: 1.4;
}

.status-text strong {
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Redirect Links Styling */
.redirect-links {
    margin-top: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.redirect-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.redirect-links a:hover {
    background: #667eea;
    color: white;
    text-decoration: none;
} 