/* Base styles - scoped to mailer */
.mailer-email body,
.mailer-email p,
.mailer-email li {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

.mailer-email body {
  background: #DEE2E9;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #141718;
}

/* Typography - scoped to mailer */
.mailer-email h2,
.mailer-email h4 {
  color: #820263;
  margin-top: 0;
}

.mailer-email h4 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}

.mailer-email p {
  margin: 16px 0;
  color: #141718;
}

/* Links - scoped to mailer */
.mailer-email .link {
  color: #820263;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

/* Layout - scoped to mailer */
.mailer-email .mailer-container {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background: #FEFEFE;
  border-radius: 8px;
}

/* Headers - scoped to mailer */
.mailer-email .mailer-title {
  color: #820263;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid #820263;
  padding-bottom: 15px;
}

/* Buttons - scoped to mailer */
.mailer-email .button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #820263;
  color: #FEFEFE !important;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  margin: 16px 0;
}

.mailer-email .button-container {
  text-align: center;
  margin: 30px 0;
}

/* Content sections - scoped to mailer */
.mailer-email .message-box,
.mailer-email .info-section {
  background-color: #f8f9fa;
  border-left: 4px solid #820263;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}

.mailer-email .info-section {
  margin-top: 30px;
  padding: 25px;
  border-top: 4px solid #820263;
  border-left: none;
  box-shadow: 0 4px 12px rgba(130, 2, 99, 0.1);
}

/* Special sections - scoped to mailer */
.mailer-email .feedback-section {
  background: #f8f9fa;
  border: 2px solid #820263;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(130, 2, 99, 0.1);
}

.mailer-email .feedback-title {
  color: #820263 !important;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mailer-email .feedback-section p {
  color: #141718 !important;
  margin: 15px 0;
  font-size: 16px;
}

.mailer-email .feedback-section .button {
  margin: 10px 5px;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mailer-email .feedback-incentive {
  color: #6C7275 !important;
  font-size: 14px;
  margin-top: 15px;
  font-style: italic;
}

.mailer-email .promo-section {
  background: linear-gradient(135deg, #820263, #9C2A76);
  border-radius: 12px;
  padding: 25px;
  margin: 25px 0;
  text-align: center;
  border: 2px dashed #FEFEFE;
}

.mailer-email .promo-title {
  color: #FEFEFE !important;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mailer-email .promo-code {
  background: #FEFEFE;
  color: #820263;
  font-size: 24px;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 8px;
  display: inline-block;
  border: 3px solid #820263;
  letter-spacing: 3px;
  margin: 10px 0;
  text-decoration: none !important;
  font-family: 'Courier New', monospace;
  box-shadow: 0 4px 12px rgba(130, 2, 99, 0.1);
}

.mailer-email .promo-discount,
.mailer-email .promo-instructions {
  color: #FEFEFE !important;
  font-weight: bold;
  margin-top: 10px;
}

.mailer-email .promo-discount {
  font-size: 16px;
}

.mailer-email .promo-instructions {
  font-size: 14px;
  font-weight: normal;
  margin-top: 15px;
  opacity: 0.9;
}

/* Order table - scoped to mailer */
.mailer-email .order-summary table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mailer-email .order-summary thead {
  background: linear-gradient(135deg, #820263, #9C2A76);
}

.mailer-email .order-summary th {
  padding: 16px 20px;
  text-align: left;
  color: #FEFEFE;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.mailer-email .order-summary td {
  padding: 12px;
  border: 1px solid #dee2e6;
  background: #FEFEFE;
}

.mailer-email .order-summary .text-center {
  text-align: center;
}

.mailer-email .order-summary .text-right {
  text-align: right;
}

.mailer-email .order-summary tfoot tr {
  background-color: #820263;
  font-weight: bold;
}

.mailer-email .order-summary tfoot td {
  border: none;
  font-size: 16px;
}

/* Utility classes - scoped to mailer */
.mailer-email .secondary-text {
  color: #6C7275;
  font-size: 14px;
}

.mailer-email .end-message {
  text-align: center;
}

/* Separators - scoped to mailer */
.mailer-email hr {
  border: 1px solid #E8ECEF;
  margin: 30px 0;
}

.mailer-email .mailer-signature {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #E8ECEF;
  font-size: 14px;
  color: #6C7275;
  text-align: center;
}

