/* Base */

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

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

p,
ul,
ol,
blockquote {
    line-height: 1.6;
    text-align: center;
}

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

a img {
    border: none;
}

/* Typography */

h1 {
    color: #333333;
    font-size: 24px;
    font-weight: bold;
    margin-top: 0;
    text-align: center;
}

h2 {
    color: #1e1e1e;
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    text-align: center;
}

h3 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 0;
    text-align: center;
}

p {
    font-size: 16px;
    line-height: 1.6em;
    margin-top: 0;
    text-align: center;
}

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

img {
    max-width: 100%;
}

/* Layout */

.wrapper {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: #f4f4f4;
    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: #1a1a1a;
    padding: 30px 0;
    text-align: center;
    width: 600px;
    margin: 0 auto;
    border-radius: 8px 8px 0 0;
}

.header a {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    text-transform: lowercase;
}

/* Logo */

.logo {
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    max-height: 50px;
}

/* Body */

.body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: #f4f4f4;
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.inner-body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 600px;
    background-color: #ffffff;
    border: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    padding: 0;
    width: 600px;
    overflow: hidden;
}

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

/* Subcopy */

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

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

/* Footer */

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

.footer p {
    color: #888888;
    font-size: 12px;
    text-align: center;
}

.footer a {
    color: #888888;
    text-decoration: none;
}

/* Tables */

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

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

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

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

/* 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: 8px;
    color: #fff;
    display: inline-block;
    overflow: hidden;
    text-decoration: none;
}

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

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

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

/* Panels (Used for OTP Code Box) */

.panel {
    margin: 30px 0;
    width: 100%;
}

.panel-content {
    background-color: #f8f9fa;
    border: 2px dashed #1a1a1a;
    border-radius: 8px;
    color: #1a1a1a;
    padding: 20px;
    text-align: center;
}

.panel-content p {
    color: #1a1a1a;
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 5px;
    margin: 0;
}

.panel-item {
    padding: 0;
}

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

/* Utilities */

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