@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

.invitation-body.template-modern {
    --primary: #2563eb;
    --bg: #f8fafc;
    --text: #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #e2e8f0;
}

.template-modern h1,
.template-modern h2,
.template-modern h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--text);
}

.template-modern .md-cover {
    background-size: cover;
    background-position: center;
}

.template-modern .md-cover-inner {
    padding: 3rem 1.5rem 5rem;
    text-align: center;
    color: #fff;
}

.template-modern .md-badge {
    display: inline-block;
    background: rgba(255,255,255,.2);
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.template-modern .md-cover h1 {
    font-size: 2.25rem;
    color: #fff !important;
    margin: 1rem 0;
}

.template-modern .md-cover h1 em {
    font-style: normal;
    opacity: .8;
}

.template-modern .md-guest {
    margin: 1.5rem auto;
    max-width: 280px;
}

.template-modern .md-open-btn {
    background: #fff !important;
    color: var(--primary) !important;
    border-radius: 999px;
    font-weight: 600;
    padding: .75rem 2rem;
}

.template-modern .md-main {
    background: var(--bg);
    max-width: 480px;
    margin: 0 auto;
    border-radius: 24px 24px 0 0;
    margin-top: -1.5rem;
    position: relative;
    box-shadow: 0 -8px 32px rgba(0,0,0,.1);
}

.template-modern .inv-nav {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 24px 24px 0 0;
}

.template-modern .inv-nav a {
    color: var(--text);
    font-size: .8rem;
    font-weight: 500;
}

.template-modern .inv-section {
    background: transparent;
}

.template-modern .countdown > div {
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
}

.template-modern .inv-divider::after {
    background: var(--primary);
}

.template-modern .couple-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.template-modern .couple-card img {
    border-radius: 16px;
}

.template-modern .gift-account {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.template-modern .rsvp-form button,
.template-modern .inv-live-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: .75rem 1.5rem;
    font-weight: 600;
}

.template-modern .music-btn {
    background: var(--primary);
}

.template-modern .inv-footer-credit {
    margin-top: 2rem;
    font-size: .75rem;
    opacity: .5;
}
