/* Base — VoM notification mail theme */

body,
body *:not(html):not(style):not(br):not(tr):not(code) {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    position: relative;
}

body {
    -webkit-text-size-adjust: none;
    background-color: #f3faf8;
    color: #3f3f46;
    height: 100%;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    width: 100% !important;
}

body.mail-rtl,
.mail-rtl {
    direction: rtl;
    text-align: right;
}

body.mail-ltr,
.mail-ltr {
    direction: ltr;
    text-align: left;
}

p,
ul,
ol,
blockquote {
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 16px;
}

.mail-rtl p,
.mail-rtl ul,
.mail-rtl ol,
.mail-rtl blockquote,
.mail-rtl h1,
.mail-rtl h2,
.mail-rtl h3 {
    text-align: right;
}

.mail-ltr p,
.mail-ltr ul,
.mail-ltr ol,
.mail-ltr blockquote,
.mail-ltr h1,
.mail-ltr h2,
.mail-ltr h3 {
    text-align: left;
}

a {
    color: #25b395;
}

a img {
    border: none;
}

/* Typography */

h1 {
    color: #18181b;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 20px;
    margin-top: 0;
}

h2 {
    color: #27272a;
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
}

h3 {
    color: #27272a;
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
}

p {
    color: #3f3f46;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    margin-top: 0;
}

p.sub {
    color: #71717a;
    font-size: 13px;
    line-height: 1.5;
}

img {
    max-width: 100%;
}

/* Layout */

.wrapper {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: #f3faf8;
    margin: 0;
    padding: 0;
    width: 100%;
}

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

/* Header */

.header {
    padding: 32px 0 20px;
    text-align: center;
}

.header a {
    color: #25b395;
    font-size: 19px;
    font-weight: bold;
    text-decoration: none;
}

/* Logo */

.logo {
    height: 44px;
    margin-bottom: 0;
    margin-top: 0;
    max-height: 56px;
    width: auto;
}

/* Body */

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

.inner-body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 570px;
    background-color: #ffffff;
    border-collapse: separate !important;
    border-color: #d8efe9;
    border-radius: 12px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 8px 24px rgba(37, 179, 149, 0.08);
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    width: 570px;
}

.brand-bar {
    background-color: #25b395;
    font-size: 0;
    height: 4px;
    line-height: 0;
    mso-line-height-rule: exactly;
}

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

/* Subcopy */

.subcopy {
    border-top: 1px solid #e4e4e7;
    margin-top: 28px;
    padding-top: 20px;
}

.subcopy p {
    color: #71717a;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Footer */

.footer {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 570px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    width: 570px;
}

.footer p {
    color: #a1a1aa;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: center;
}

.footer a {
    color: #25b395;
    text-decoration: underline;
}

/* Tables */

.table table {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 24px auto;
    width: 100%;
}

.table th {
    border-bottom: 1px solid #e4e4e7;
    color: #27272a;
    font-weight: 600;
    margin: 0;
    padding-bottom: 8px;
}

.table td {
    color: #3f3f46;
    font-size: 15px;
    line-height: 18px;
    margin: 0;
    padding: 10px 0;
}

.content-cell {
    max-width: 100vw;
    padding: 36px 40px;
}

.mail-rtl .content-cell {
    direction: rtl;
    text-align: right;
}

.mail-ltr .content-cell {
    direction: ltr;
    text-align: left;
}

.footer .content-cell {
    padding: 28px 16px 40px;
}

/* Buttons */

.action {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 28px auto;
    padding: 0;
    text-align: center;
    width: 100%;
    float: unset;
}

.button {
    -webkit-text-size-adjust: none;
    border-radius: 8px;
    color: #fff;
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    overflow: hidden;
    text-decoration: none;
}

.button-blue,
.button-primary {
    background-color: #25b395;
    border-bottom: 12px solid #25b395;
    border-left: 24px solid #25b395;
    border-right: 24px solid #25b395;
    border-top: 12px solid #25b395;
}

.button-green,
.button-success {
    background-color: #16a34a;
    border-bottom: 12px solid #16a34a;
    border-left: 24px solid #16a34a;
    border-right: 24px solid #16a34a;
    border-top: 12px solid #16a34a;
}

.button-red,
.button-error {
    background-color: #dc2626;
    border-bottom: 12px solid #dc2626;
    border-left: 24px solid #dc2626;
    border-right: 24px solid #dc2626;
    border-top: 12px solid #dc2626;
}

/* Panels */

.panel {
    border-radius: 8px;
    margin: 24px 0;
    overflow: hidden;
}

.mail-rtl .panel {
    border-right: #25b395 solid 4px;
}

.mail-ltr .panel {
    border-left: #25b395 solid 4px;
}

.panel-content {
    background-color: #f3faf8;
    color: #3f3f46;
    padding: 16px 18px;
}

.panel-content p {
    color: #3f3f46;
    margin-bottom: 8px;
}

.panel-item {
    padding: 0;
}

.panel-item p:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Divider / salutation */

.salutation {
    color: #71717a;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
    margin-top: 8px;
}

.salutation strong {
    color: #27272a;
    font-weight: 600;
}

/* Utilities */

.break-all {
    word-break: break-all;
}
