.top-pattern {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  height: 58vw;
  background: url(../images/login-top-wave.png) no-repeat center -12vw;
  background-size: cover;
}

.top-bg-pattern {
  width: 25vw;
  height: auto;
  align-self: flex-end;
  margin-right: 15vw;
}

.login-page-title {
  color: white;
  padding-left: 5%;
  font-size: 24px;
  margin-top: 0;
  letter-spacing: 1px;
  line-height: 32px;
  font-family: Unity;
  max-width: 55%;
}

.login-logo {
  position: absolute;
  bottom: 20px;
  right: 8%;
  width: 125px;
  height: auto;
}

.login-logo-extrazone {
  display: none;
}

.extrazone .login-logo {
  display: none;
}

.extrazone .login-logo-extrazone {
  display: block;
}

.login-title {
  width: 100%;
  color: black;
  text-align: left;
  font-size: 18px;
  font-family: Gotham;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding-top: 10px;
  box-sizing: border-box;
  padding-left: 25px;
  margin-bottom: 5px;
}

.login-subtitle {
  width: 100%;
  font-family: Gotham;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  margin-top: 8px;
  margin-bottom: 0;
  opacity: 0.8;
  padding-left: 25px !important;
  padding-right: 25px !important;
  box-sizing: border-box;
  text-align: center;
}

.or-text {
  text-align: center;
  text-transform: lowercase;
  font-weight: 300;
  margin-top: 25px;
  margin-bottom: 25px;
}

#submit-resend {
  margin-top: 0 !important;
  color: #a2acb1 !important;
  background: none !important;
  border: none !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px;
}

select#mobileNumberCountryCode {
  position: absolute;
  top: 0;
  left: 0;
  width: 75px;
  margin-right: 10px;
  padding-top: 0 !important;
  margin-top: 0px !important;
  padding-left: 10px !important;
}

select:not(#mobileNumberCountryCode) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 18px;
}

#mobile {
  width: calc(100% - 85px);
  padding-left: 12px !important;
  margin-left: 85px !important;
}

.input-container:has(#mobile) > label {
  /* top: 32px; */
  left: 95px !important;
}

/* .input-container:has(#mobile:focus) > label[for="mobile"],
.input-container:has(#mobile:not(:placeholder-shown)) > label[for="mobile"] {
  top: 2px !important;
} */

.privacy-notice {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  width: calc(100% - 32px);
  min-height: 72px;
  box-sizing: border-box;
  background: #e5e7e9;
  padding: 17px 18px;
  border-radius: 8px;
  margin: 20px auto 0;
  text-decoration: none;
  color: #1d1d1b;
  font-family: Gotham;
  font-size: 15px;
}

.privacy-notice-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.privacy-notice-text {
  flex: 1;
  min-width: 0;
}

.privacy-notice-text b {
  display: block;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}

.privacy-notice-text-description {
  margin-top: 3px;
  color: #666;
  font-size: 15px;
  line-height: 20px;
}

.privacy-notice-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border: 1px solid #1d1d1b;
  border-radius: 5px;
}

.footer {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dd-logo {
  width: 65px;
  height: auto;
  margin-bottom: 30px;
}

.cc-logo {
  width: 110px;
  height: auto;
  margin-bottom: 20px;
}

#submit-redirect {
  background-color: white;
  color: #a2acb1;
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding-left: 25px;
  box-sizing: border-box;
  padding-top: 10px;
}

.profile-header .login-title {
  padding-left: 10px;
  padding-top: 0;
}

.profile-header .user-logo {
  width: 30px;
  height: 30px;
}

/* Explore Button Styles */
.explore-btn-wrapper {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.explore-btn {
  flex: 1;
  background-color: white;
  border: 1px solid var(--theme-color);
  border-radius: 25px;
  color: var(--theme-color);
  font-family: Gotham;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.explore-btn-wrapper #ces-form-submit-ces-sign-in-form {
  flex: 1;
  margin-top: 0 !important;
}

/* since this is an iframe, we are calculating desktop or tablet with top window */
.tablet .container,
.desktop .container {
  min-height: 100px;
}

.tablet .login-title,
.desktop .login-title {
  text-align: center;
}

.tablet .top-pattern,
.desktop .top-pattern {
  display: none !important;
}

.desktop #ces-sign-in-form {
  width: 50%;
}

.desktop h1[class*="welcomeTitle"] {
  font-size: 36px;
}

.desktop .explore-btn,
.desktop .ces-form-submit,
.desktop .form-nav .button-primary {
  font-size: 18px;
}

body:not(.desktop):not(.tablet) .explore-btn,
body:not(.desktop):not(.tablet) .ces-form-submit,
body:not(.desktop):not(.tablet) .form-nav .button-primary {
  font-size: 16px;
}

body:not(.desktop):not(.tablet) .login-subtitle {
  text-align: left;
}

body:not(.desktop):not(.tablet) .privacy-notice-text b {
  font-size: 14px;
  line-height: 18px;
}

body:not(.desktop):not(.tablet) .privacy-notice-text-description {
  font-size: 12px;
  line-height: 16px;
}

.tablet .privacy-notice,
.desktop .privacy-notice {
  display: none !important;
}

.tablet .footer,
.desktop .footer {
  display: none !important;
}
