/* The WOWmail box under the login form. */
.wowmail-banner {
  align-items: center;
  background: #fff;
  border: 1px solid #d7e0ea;
  border-left: 4px solid var(--wowmail-color, #1d5fbf);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(16, 38, 66, 0.08);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: space-between;
  margin: 20px auto 0;
  max-width: 460px;
  padding: 14px 16px;
  text-align: left;
  width: 100%;
}

.wowmail-banner[hidden] {
  display: none;
}

.wowmail-banner-text {
  display: grid;
  flex: 1 1 100%;
  gap: 8px;
}

.wowmail-banner-text strong {
  color: #12233a;
  font-size: 15px;
}

.wowmail-banner-text span {
  color: #4a5b70;
  font-size: 13px;
  line-height: 1.4;
}

.wowmail-banner-features {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wowmail-banner-features li {
  color: #24364d;
  font-size: 13.5px;
  line-height: 1.4;
  padding-left: 24px;
  position: relative;
}

/* A tick in the accent colour before each feature. */
.wowmail-banner-features li::before {
  border-bottom: 2px solid var(--wowmail-color, #1d5fbf);
  border-right: 2px solid var(--wowmail-color, #1d5fbf);
  content: "";
  height: 9px;
  left: 6px;
  position: absolute;
  top: 3px;
  transform: rotate(45deg);
  width: 5px;
}

.wowmail-banner-button {
  background: var(--wowmail-color, #1d5fbf);
  border-radius: 8px;
  box-sizing: border-box;
  color: #fff !important;
  flex: 1 1 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 14px;
  text-decoration: none !important;
  white-space: nowrap;
}

.wowmail-banner-button:hover,
.wowmail-banner-button:focus {
  filter: brightness(1.08);
}

/* Elastic / Roundcube Plus dark mode */
html.dark-mode .wowmail-banner {
  background: #1d2733;
  border-color: #33404f;
  border-left-color: var(--wowmail-color, #1d5fbf);
}

html.dark-mode .wowmail-banner-text strong {
  color: #e8eef5;
}

html.dark-mode .wowmail-banner-text span {
  color: #a9b6c5;
}

html.dark-mode .wowmail-banner-features li {
  color: #d3dde8;
}
