/* Base */

body,
body *:not(html):not(style):not(br):not(tr):not(code) {
    box-sizing: border-box;
    font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, 'Liberation Sans', sans-serif;
    position: relative;
}

body {
    background-color: transparent;
    color: #222;
    min-height: unset;
    margin: 0;
    padding: 0;
    width: 100% !important;
}

p,
ul,
ol,
blockquote {
    line-height: 1.4;
    text-align: left;
}

a {
    color: #3869d4;
}

a img {
    border: none;
}

/* Typography */

h1 {
    color: #3d4852;
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
    text-align: left;
}

h2 {
    font-size: 1.35rem;
    color: #005470;
    font-weight: 700;
    margin-bottom: 18px;
    margin-top: 0;
    letter-spacing: .5px;
    text-align: left;
}

h3 {
    font-size: 1.08rem;
    color: #4cc2e1;
    font-weight: 600;
    margin-bottom: 12px;
}

p {
    font-size: 1rem;
    color: #222;
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.6;
}

p.sub {
    font-size: 12px;
}

img {
    max-width: 100%;
}

/* Layout */

.wrapper {
    background-color: transparent;
    margin: 0;
    padding: 0;
    width: 100%;
}

.content {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Header */

.elegant-header {
    background: #fff;
    padding: 0;
    text-align: center;
    border-bottom: 4px solid #005470;
}

.header-table {
    width: 100%;
    border: none;
}

.header-inner-table {
    margin: 0 auto;
    border: none;
}

.header-logo-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.header-logo {
    max-width: 110px;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 84, 112, 0.13);
    background: #fff;
    padding: 0;
    display: block;
}

.header-title {
    font-size: 1.35rem;
    color: #005470;
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 18px;
}

/* Logo */

.logo {
    height: 75px;
    max-height: 75px;
    width: 75px;
}

/* Body */

.body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: transparent;
    border-bottom: 1px solid #edf2f7;
    border-top: 1px solid #edf2f7;
    margin: 0;
    padding: 0;
    width: 100%;
}

.inner-body {
    background-color: #f8fafc;
    box-shadow: 0 8px 32px rgba(0, 84, 112, 0.10), 0 2px 8px rgba(0, 84, 112, 0.06);
    margin: 0 auto;
    padding: 0;
    width: 570px;
}

.inner-body a {
    word-break: break-all;
}

/* Subcopy */

.subcopy {
    border-top: 1px solid #e8e5ef;
    margin-top: 25px;
    padding-top: 25px;
}

.subcopy p {
    font-size: 14px;
}

/* Footer */

.elegant-footer {
    text-align: center;
    font-size: 1.08rem;
    color: #005470;
    border-top: 2px solid #4cc2e1;
    padding: 16px 16px 16px 16px;
    margin-top: 0;
    background: #f2f3f5;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 32px rgba(0, 84, 112, 0.10), 0 2px 8px rgba(0, 84, 112, 0.06);
}

.elegant-footer-cell {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    color: #005470;
    font-size: 1.08rem;
    padding: 32px 24px 0 24px;
    background: #f2f3f5;
    text-align: center;
}

.footer-copyright {
    margin: 0;
    padding: 0;
    line-height: 1.7;
    font-size: 1.08rem;
    font-weight: 700;
    color: #005470;
    letter-spacing: .2px;
    text-align: center;
}

.footer-link {
    color: #005470;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.08rem;
    transition: color .2s, text-decoration .2s;
    padding-bottom: 2px;
}

.footer-link:hover {
    color: #4cc2e1;
    text-decoration: underline;
    border-bottom: 2px solid #4cc2e1;
}

.footer-message {
    margin: 12px 0 0 0;
    padding: 0;
    line-height: 1.5;
    color: #408094;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .1px;
    text-align: center;
}

.elegant-footer-cell:hover {
    box-shadow: 0 6px 24px rgba(76, 194, 225, 0.13);
    background: #e6f3f8;
}

.elegant-content {
    padding: 36px 36px 10px 36px;
    text-align: center;
    background: #f8fafc;
    border-radius: 0;
    box-shadow: 0 2px 16px rgba(64, 128, 148, 0.09);
}

.elegant-content h2,
.elegant-content .elegant-title {
    font-size: 1.4rem;
    color: #005470;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
    letter-spacing: .6px;
}

.elegant-content p {
    font-size: 1.04rem;
    color: #222;
    margin-bottom: 18px;
    margin-top: 0;
    line-height: 1.7;
}

.elegant-content .btn-center {
    text-align: center;
    width: 100%;
}

.elegant-content .btn {
    display: inline-block;
    background: #005470;
    color: #fff !important;
    text-decoration: none;
    padding: 14px 38px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 1.13rem;
    margin: 0 0 22px 0;
    letter-spacing: .6px;
    transition: background .18s, box-shadow .18s, transform .18s;
    box-shadow: 0 2px 10px rgba(76, 194, 225, 0.13);
    border: none;
}

.elegant-content .btn:hover {
    background: #abad25;
    color: #fff;
    box-shadow: 0 6px 22px rgba(76, 194, 225, 0.18);
    transform: translateY(-2px) scale(1.05);
}

.elegant-content .manual-link-box {
    background: #fff;
    border: 1.5px solid #a6def0;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 0 auto 20px auto;
    word-break: break-all;
    color: #408094;
    font-size: 1.01rem;
    font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, 'Liberation Sans', sans-serif;
    text-align: left;
    max-width: 100%;
    font-weight: 500;
    letter-spacing: .22px;
    box-shadow: 0 1px 8px rgba(76, 194, 225, 0.09);
}

.elegant-content small {
    color: #abad25;
    font-size: .98rem;
    display: block;
    margin-bottom: 12px;
}

@media (max-width: 600px) {

    .container,
    .inner-body,
    .footer,
    .elegant-footer,
    .elegant-footer-cell {
        width: 100% !important;
        border-radius: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .header-content {
        flex-direction: column;
        gap: 8px;
        padding: 10px 0 6px 0;
    }

    .header-subject,
    .header-title {
        font-size: 1.1rem;
        padding-top: 8px;
        text-align: center;
    }

    .content-cell,
    .elegant-content {
        padding: 18px 6vw 0 6vw !important;
    }

    .footer-copyright,
    .footer-message {
        font-size: .98rem !important;
        text-align: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .btn,
    .button,
    .button-primary {
        width: 100% !important;
        font-size: 1rem !important;
        padding: 12px 0 !important;
    }

    .manual-link-box {
        font-size: .97rem !important;
        padding: 8px 6px !important;
        word-break: break-all;
    }

    small {
        font-size: .93rem !important;
    }
}