/* Base - EINNA Professional Email Design */

body,
body *:not(html):not(style):not(br):not(tr):not(code) {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

body {
    -webkit-text-size-adjust: none;
    background-color: #f5f5f5;
    color: #333333;
    height: 100%;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    width: 100% !important;
}

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

a {
    color: #1a365d;
    text-decoration: none;
}

a:hover {
    color: #2d5aa0;
    text-decoration: underline;
}

a img {
    border: none;
}

/* Typography */

h1 {
    color: #1a202c;
    font-size: 28px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 24px;
    text-align: left;
    letter-spacing: -0.5px;
}

h2 {
    color: #2d3748;
    font-size: 22px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    text-align: left;
    letter-spacing: -0.3px;
}

h3 {
    color: #4a5568;
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    text-align: left;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 16px;
    text-align: left;
    color: #4a5568;
}

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

img {
    max-width: 100%;
}

/* Layout */

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

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

/* Header */

.header {
    background-color: #ffffff;
    padding: 40px 0;
    text-align: center;
    border-bottom: 3px solid #FFD700;
}

.header a {
    color: #1a202c;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
}

/* Logo */

.logo {
    height: 50px;
    max-height: 50px;
    width: auto;
    max-width: 180px;
    margin: 0 auto;
    display: block;
}

/* Body */

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

.inner-body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 600px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    padding: 0;
    width: 600px;
}

.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 */

.footer {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

.footer p {
    color: #718096;
    font-size: 13px;
    text-align: center;
    margin: 8px 0;
    line-height: 1.5;
}

.footer a {
    color: #1a365d;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    color: #2d5aa0;
    text-decoration: underline;
}

/* Tables */

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

.table th {
    border-bottom: 1px solid #edeff2;
    margin: 0;
    padding-bottom: 8px;
}

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

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

/* Buttons */

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

.button {
    -webkit-text-size-adjust: none;
    border-radius: 4px;
    color: #ffffff;
    display: inline-block;
    overflow: hidden;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

.button-primary:hover {
    background-color: #333333;
}

.button-green,
.button-success {
    background-color: #48bb78;
    border-bottom: 8px solid #48bb78;
    border-left: 18px solid #48bb78;
    border-right: 18px solid #48bb78;
    border-top: 8px solid #48bb78;
}

.button-red,
.button-error {
    background-color: #e53e3e;
    border-bottom: 8px solid #e53e3e;
    border-left: 18px solid #e53e3e;
    border-right: 18px solid #e53e3e;
    border-top: 8px solid #e53e3e;
}

/* Panels */

.panel {
    border-left: #FFD700 solid 4px;
    margin: 32px 0;
    border-radius: 0;
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
}

.panel-content {
    background-color: #f8f9fa;
    color: #4a5568;
    padding: 24px;
}

.panel-content p {
    color: #4a5568;
    margin-bottom: 8px;
}

.panel-content h2 {
    color: #1a202c;
    margin-bottom: 16px;
    margin-top: 0;
    font-size: 20px;
    font-weight: 600;
}

.panel-item {
    padding: 0;
}

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

/* Utilities */

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