/* SuperMX.net - Custom Styles */

:root {
    --pr-primary: #4a6fa5;
    --pr-primary-dark: #3a5a8a;
    --pr-accent: #e8913a;
    --pr-bg: #f5f7fa;
}

body {
    background-color: var(--pr-bg);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--pr-primary) 0%, var(--pr-primary-dark) 100%);
    color: white;
    padding: 5rem 0;
    margin: -1.5rem -0.75rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.card-domain {
    border-left: 4px solid var(--pr-primary);
}

.card-domain.unverified {
    border-left-color: var(--pr-accent);
}

/* Feature cards on homepage */
.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.feature-card .feature-icon {
    font-size: 2.5rem;
    color: var(--pr-primary);
    margin-bottom: 1rem;
}

/* Stats */
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pr-primary);
}

.stat-label {
    color: #6c757d;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* MX setup instructions */
.mx-instructions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.9rem;
}

.mx-instructions .record-type {
    color: var(--pr-accent);
    font-weight: 600;
}

.mx-instructions .record-value {
    color: var(--pr-primary);
    font-weight: 600;
}

/* Domain verification badge */
.badge-verified {
    background-color: #198754;
}

.badge-unverified {
    background-color: var(--pr-accent);
}

/* Rules table */
.rules-table .local-part {
    font-family: monospace;
    font-weight: 600;
}

.rules-table .destination {
    font-family: monospace;
    color: var(--pr-primary);
}

/* Log table */
.log-table {
    font-size: 0.875rem;
}

.log-table td {
    vertical-align: middle;
}

/* Spam score bar */
.spam-bar {
    width: 60px;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.spam-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s;
}

/* Copy button */
.btn-copy {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.btn-copy:hover {
    opacity: 1;
}

/* Auth forms */
.auth-form {
    max-width: 440px;
    margin: 2rem auto;
}

.auth-form .card {
    padding: 2rem;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 3rem 0;
    }
}
