/* Email Styles Configuration
 * These styles will be converted to inline styles for email compatibility
 */

/* Body and wrapper styles */
body {
  margin: 0;
  padding: 0;
  /* background: linear-gradient(to bottom, #0a1a26, #0f3d5f); */
  background-color: #ffffff;
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.content-wrapper {
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: justify;
}

/* Typography */
h1 {
  text-align: center;
  margin: 2rem 0 2rem 0;
  padding: 0;
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
  font-weight: bold;
  color: #333333;
  line-height: 1.3;
}

h1 td {
  padding: 0 0 20px 0;
}

h2 {
  margin: 0;
  padding: 0;
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #333333;
  line-height: 1.3;
}

h2 td {
  padding: 0 0 20px 0;
}

h3 {
  margin: 0;
  padding: 0;
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  line-height: 1.3;
}

h3 td {
  padding: 0 0 15px 0;
}

p {
  margin: 0;
  padding: 0;
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

p, td {
  padding: 0 0 20px 0;
  text-align: justify;
}

/* Links */
a {
  color: #0066cc;
  text-decoration: underline;
}

/* Buttons */
a.button {
  display: inline-block;
  padding: 16px 40px;
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 16px;
  background: linear-gradient(to right, #ff9f5a, #ff6b1a);
  background-color: #ff6b1a;
  border: 1px solid #e85a00;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

a.button span {
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
}

a.button td {
  background: linear-gradient(to right, #ff9f5a, #ff6b1a);
  background-color: #ff6b1a;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

a.button-wrapper {
  padding: 0 0 20px 0;
}

a.button-fallback {
  padding: 0 0 25px 0;
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #666666;
}

a.button-fallback a {
  color: #0066cc;
  text-decoration: underline;
  font-size: 13px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border: 0;
}

img.full-width {
  display: block;
  margin: 1em 0;
}

img.float-left {
  max-width: 30%;
  float: left;
  margin: 0 1em 1em 0;
}

img.float-right {
  max-width: 30%;
  float: right;
  margin: 0 0 1em 1em;
}

/* Lists */
ul,
ol {
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

ul td,
ol td {
  padding: 0 0 10px 0;
}

li {
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

li td {
  padding: 0 0 8px 0;
}

li.bullet {
  width: 20px;
  vertical-align: top;
  color: #333333;
}

li.content {
  padding: 0 0 8px 0;
  vertical-align: top;
}

/* Text formatting */
strong,
b {
  font-weight: bold;
}

em,
i {
  font-style: italic;
}

/* Footer */
.footer {
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
  border-radius: 0 0 4px 4px;
  padding: 30px 40px;
}

.footer p {
  font-size: 13px;
  line-height: 1.5;
  color: #666666;
  padding: 0;
}

.footer p:first-child {
  padding: 0 0 10px 0;
}

/* Signature */
.signature {
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  padding-top: 20px; /* This padding-top is applied to the signature table cell */
}

.signature img {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  border: 0;
  display: block;
}

hr {
    color: #CCCCCC;
    margin-top: 40px;
    margin-bottom: 40px;
}
