/* General Wrapper */
.moosend-dmarc-checker {

  max-width: 700px;
  padding: 40px;
  background: rgba(67, 45, 208, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(67, 45, 208, 0.67);
  box-shadow: 0 8px 32px rgba(39, 35, 101, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  margin: 0 auto;
  translate: 0px -110px;
}

.moosend-dmarc-checker h2 {
  font-size:18px;
  font-weight: 400;
  color: #2A1C4A;
  margin-bottom: 30px;
}



/* Form */
.moosend-dmarc-form-group {
  display: flex;
  margin: 0 auto;
  max-width: 100%;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 14px rgba(93, 113, 255, 0.25);
  overflow: hidden;
  padding: 4px;
      max-height: 57px;
}

.moosend-dmarc-form-group input {
  flex: 1;
  padding: 18px 20px;
  font-size: 16px;
  border: none;
  border-radius: 999px 0 0 999px;
  outline: none;
  background: #fff;
  color: #241e3d;

}

.moosend-dmarc-form-group button {
  background: #7B3DE8;
  color: #fff;
  font-weight: 700;
  padding: 0 24px;
  font-size: 16px;
  height:50px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  transition: background 0.3s ease;
}

.moosend-dmarc-form-group button:hover {
  background: #592fd9;
}

.moosend-dmarc-form-group button:disabled {
  background: #a998f4;
  cursor: not-allowed;
}

.moosend-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Errors */
.moosend-validation-error {
  color: #e74c3c;
  font-size: 15px;
  margin-top: 15px;
  text-align: center;
}

.moosend-validation-error ul {
    list-style-type: none;
	padding-inline-start: 0px;
}

/* Results layout */
#moosend-dmarc-result {
  max-width: 700px;
  margin: 40px auto;
  translate: 0px -110px;
}

/* Result Title */
.moosend-section.moosend-result-title {
  background-color: #2A1C4A;
  color: #fff!important;
  border-radius: 10px;
  border: 2px solid #d1d1d1;
  padding: 20px 30px;
  margin-bottom: 30px;
  text-align: center;
  
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.moosend-section.moosend-result-title h3{

  color: #fff!important;
	font-size: 24px;
  font-weight: 400;

} 
.moosend-section.moosend-result-title h3 strong {
  font-weight: 700;
}

/* === Status Box === */
.moosend-status-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.moosend-status-decor {
  position: absolute;
  top: -20px;
  right: -85px;
  width: 130px;
  z-index: 0;
  pointer-events: none;
}

.moosend-section.moosend-status-box {
  border: 1px solid rgba(67, 45, 208, 0.67);
  border-radius: 16px;
      background: rgb(255 255 255 / 60%);
  backdrop-filter: blur(4px);
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(42, 28, 74, 0.15);
  width: 100%;
}

.moosend-status-header {
  background-color: rgba(208, 233, 255, 0.6);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
  position: relative;
}

.moosend-status-header img.status-icon {
  width: 48px;
  height: 48px;
}

.moosend-status-title {
  font-size: 20px;
  font-weight: bold;
  color: #2A1C4A;
  margin-right: 8px;
}

.moosend-status-value {
  font-size: 16px;
  color: #2A1C4A;
}

.moosend-status-body {
  background: #ffffff00;
  padding: 20px 25px;
  font-size: 16px;
  line-height: 1.6;
  color: #2A1C4A;
}




/* === Policy Grid === */
.moosend-result-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.moosend-section.moosend-dmarc-policy,
.moosend-section.moosend-dmarc-pct {
  flex: 1;
  border: 1px solid rgba(67, 45, 208, 0.67);
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(42, 28, 74, 0.15);
  background: white;
  display: flex;
  flex-direction: column;
	overflow: hidden;
}

/* Header colors */
.moosend-section.moosend-dmarc-policy .moosend-header {
  background: #FDDDDF;
}
.moosend-section.moosend-dmarc-pct .moosend-header {
  background: #FCF4B5;
}

.moosend-header {
  display: flex;
  align-items: center;
  padding: 20px;
}
.moosend-header-icon {
  width: 48px;
  height: 48px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.moosend-header-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.moosend-header-text {
  flex-grow: 1;
}
.moosend-header-text h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #2A1C4A;
}
.moosend-header-text small {
  font-size: 16px;
  color: #2A1C4A;
  opacity: 0.8;
}



/* Box body */
.moosend-body {
  padding: 20px;
  font-size: 16px;
  color: #2A1C4A;
  line-height: 1.6;
}
.moosend-body strong {
  font-size: 32px;
  font-weight: 800;
  display: block;
}

/* === Your Record === */
.moosend-section.moosend-dmarc-raw {
  border: 1px solid rgba(67, 45, 208, 0.67);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
  background: white;
  box-shadow: 0 5px 15px rgba(42, 28, 74, 0.1);
}

.moosend-dmarc-raw-header {
  background-color: #E0DEF7;
  padding: 18px 25px;
  font-size: 20px;
  font-weight: bold;
  color: #2A1C4A;
}

.moosend-dmarc-raw-body {
  padding: 25px;
  font-size: 16px;
  color: #2A1C4A;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.moosend-dmarc-raw-body pre {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  word-break: break-word;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  flex: 1 1 80%;
  white-space: pre-wrap;
}

.moosend-copy-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.moosend-copy-icon:hover {
  transform: scale(1.1);
}

.moosend-copy-tooltip {
  font-size: 13px;
  color: #2A1C4A;
  margin-top: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

/* === Additional Recommendations === */
.moosend-section.moosend-dmarc-recs {
  position: relative;
  border: 1px solid rgba(67, 45, 208, 0.67);
  border-radius: 16px;
  background: #e9f5ff82;
  box-shadow: 0 5px 15px rgba(42, 28, 74, 0.1);
  padding: 25px;
  margin-bottom: 30px;
  overflow: hidden;
}

ul.recommendationslist {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
    color: rgb(42, 28, 74);
    font-size: 16px;
    line-height: 1.6;
        list-style-type: disc !important;
    list-style-position: inside; /* or outside, depending on your layout */
    padding-left: 1.5em; /* ensure there's space for bullets */
}

ul.recommendationslist li {
    display: list-item !important;
}

ul.recommendationslist li::before {
    content: "•";
    color: #2a1c4a;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.moosend-section.moosend-dmarc-recs h3 {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: #2A1C4A;
  margin-bottom: 15px;
}

.moosend-section.moosend-dmarc-recs h3::before {
  content: "";
  display: inline-block;
  width: 48px;
  height: 48px;
  background-image: url('../images/recommendations.png');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 15px;
}


.moosend-rec-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.moosend-recs-decor {
    position: absolute;
    top: -30px;
    left: -140px;
    width: 250px;
    opacity: 0.95;
    pointer-events: none;
    z-index: 0;
}



/* Dynamic header colors for status */
.moosend-header-valid {
  background-color: #D0E9FF !important;
}
.moosend-header-warning {
  background-color: #FCF4B5 !important;
}
.moosend-header-error {
  background-color: #FDDDDF !important;
}

/* Dynamic policy headers */
.moosend-policy-reject {
  background-color: #D0E9FF !important;
}
.moosend-policy-quarantine {
  background-color: #EDEDED !important;
}
.moosend-policy-none {
  background-color: #FCF4B5 !important;
}
.moosend-policy-error {
  background-color: #FDDDDF !important;
}

/* Dynamic percentage headers */
.moosend-pct-low {
  background-color: #FDDDDF !important;
}
.moosend-pct-medium {
  background-color: #FCF4B5 !important;
}
.moosend-pct-high {
  background-color: #D0E9FF !important;
}

.moosend-section.moosend-status-box,
.moosend-header,
.moosend-section.moosend-dmarc-policy,
.moosend-section.moosend-dmarc-pct,
.moosend-status-header {
  overflow: visible;
  position: relative;
}

.moosend-status-hint img,
.moosend-header-hint img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  cursor: pointer;
}


.moosend-tooltip-status,
.moosend-tooltip-policy,
.moosend-tooltip-percentage {
  position: absolute;
 width: 280px!important;
  margin-top: 6px;
  z-index: 99;
  display: none;
}

.moosend-status-hint:hover .moosend-tooltip-status,
.moosend-header-hint.policy:hover .moosend-tooltip-policy,
.moosend-header-hint.percentage:hover .moosend-tooltip-percentage {
  display: block;
}

.moosend-tooltip-status img,
.moosend-tooltip-policy img,
.moosend-tooltip-percentage img {
  
  width: 280px!important;
  height: auto;
  border-radius: 12px;
}

.moosend-status-header,
.moosend-header
{
	  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}


/* === Responsive Styling for Mobile and Portrait === */
@media (max-width: 768px) {

  /* Wrapper */
  .moosend-dmarc-checker {
    padding: 30px 20px;
    border-radius: 12px;
        margin-left: 15px;
        margin-right: 15px;
  }

  #moosend-dmarc-result {
    max-width: 100%;
    padding: 0 12px;
  }

  /* Stack input and button cleanly on mobile */
 /* Stack input and button cleanly on mobile */
  .moosend-dmarc-form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
        max-height: fit-content;

  }

  .moosend-dmarc-form-group input {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    border: none;
    border-radius: 999px !important;
    box-shadow: 0 2px 6px rgba(93, 113, 255, 0.2);
    margin-bottom: 0;
  }

  .moosend-dmarc-form-group button {
    width: 100%;
    border-radius: 999px;
    height: 52px;
    font-size: 16px;
    margin: 0;
  }
  
  /* Full width sections */
  .moosend-rec-wrapper,
  .moosend-section.moosend-status-box,
  .moosend-section.moosend-dmarc-raw,
  .moosend-section.moosend-dmarc-recs {
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
  }

  /* Stack grid */
  .moosend-result-row {
    flex-direction: column;
    gap: 20px;
  }

  .moosend-section.moosend-dmarc-policy,
  .moosend-section.moosend-dmarc-pct {
    width: 100%;
  }

   .moosend-section.moosend-dmarc-policy
	{
		margin-bottom: 10px;
	}

  /* Hide decorations */
  .moosend-status-decor,
  .moosend-recs-decor {
    display: none;
  }

  /* Typography adjustments */
  .moosend-dmarc-checker h2 {
    font-size: 18px;
    line-height: 1.4;
  }

  .moosend-section.moosend-result-title {
    font-size: 20px;
    padding: 16px 20px;
  }

  .moosend-section.moosend-dmarc-recs h3,
  .moosend-header-text h3 {
    font-size: 18px;
    line-height: 1.4;
  }

  .moosend-body {
    font-size: 15px;
  }

  .moosend-body strong {
    font-size: 28px;
  }

  .moosend-copy-icon {
    width: 22px;
    height: 22px;
  }

  .moosend-dmarc-raw-header {
    font-size: 18px;
    padding: 14px 20px;
  }

  .moosend-dmarc-raw-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .moosend-dmarc-raw-body pre {
    font-size: 14px;
    word-break: break-word;
  }

  /* Reduce padding for compact view */
  .moosend-status-header,
  .moosend-header,
  .moosend-body,
  .moosend-dmarc-raw-body,
  .moosend-section.moosend-dmarc-recs ul {
    padding: 16px;
  }
	
.moosend-copy-tooltip
	{
		top: 80%;
	}
	
	.moosend-tooltip-status,
.moosend-tooltip-policy,
.moosend-tooltip-percentage {
	right:12%;
	}
	
}