/* ===============================
   Cloud Phone Newsletter Page
   Responsive Design (360 / 768 / 1280)
   =============================== */

/* ===== Global Settings ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-width: 360px;
  background: #fff;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111;
  display: grid;
  grid-template-rows: auto 1fr auto;
  /* header / main / footer */
  min-height: 100vh;
}

.layoout {
}

/* ===== Header ===== */
header {
  display: flex;
  align-items: center;
  padding-left: var(--spacing-3-12px, 12px);
  gap: 474px;
  height: var(--h-14, 56px);
}

header img {
  width: 150.667px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Main Section ===== */

.subscription-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.main {
  display: flex;
  flex-direction: column;
  padding: 48px 10px;
}

.main-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.message-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 672px;
}

.message-background-color {
  background-color: var(--Neutral-cm-gray-f0f, #f0f0f0);
}

/* ===== Headings ===== */
h2 {
  color: var(--Neutral-cm-gray-323, #323232);
  text-align: center;
  font-family: "Roboto Condensed";
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  /* 111.11% */
}

.subscription-container h2 {
  margin-top: 48px;
}

/* ===== Form Box ===== */
.form-box {
  display: flex;
  width: fit-content;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-5-20px, 20px);
  padding: 48px;
  border-radius: var(--rounded-md, 6px);
  background: var(--Neutral-cm-gray-f0f, #f0f0f0);
}

.form-box input {
  width: 320px;
  border: none;
  border-bottom: 1px solid rgba(136, 136, 136, 0.2);
  padding: 10px;
  background: transparent;
  outline: none;
}

.form-box input::placeholder {
  color: rgba(136, 136, 136, 0.5);
  font-family: "Roboto";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  /* 150% */
}

.form-box .nonce {
  display: none;
}

.form-box #name {
  display: none;
}

form button {
  display: flex;
  width: 128px;
  height: 32px;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #1a73e8;
  border: none;
  border-radius: 20px;
  text-align: center;
  font-family: "Roboto";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.form-box button {
  width: 320px;
}

.form-box .lists {
  display: none;
}

.manage-form .name-input {
  display: none;
}

.manage-form li {
  list-style: none;
}

/* ===== Text ===== */
.notice {
  color: var(--Neutral-cm-gray-323, #323232);
  font-family: "Roboto";
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  /* 142.86% */
  max-width: 412px;
}

.notice a {
  color: var(--Primary-cm-blue-1a7, #1a73e8);
  font-family: "Roboto";
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
}

.message-layout .email {
  color: var(--Primary-cm-blue-1a7, #1a73e8);
}

.message-layout .title {
    padding-top: 80px;
}

.message-layout .content {
  padding: 0px 10px;
}


/* ===== Button Link ===== */
a.button {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 128px;
  height: 32px;

  color: #fff;
  background: #1a73e8;
  border-radius: 16px;

  text-align: center;
  text-decoration: none;

  font-family: "Roboto";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

/* ===== Button Outline For OIDC Button ===== */
.button.button-outline {
  background: #fff;
  border: 1px solid #0055d4;
  color: #0055d4;
}
.button.button-outline:hover {
  border-color: #333;
  background-color: #333;
  color: #fff;
}

.oidc-image {
  max-width: 24px;
  margin-right: 10px;
}

/* ===== Footer ===== */
footer {
  color: var(--Neutral-cm-gray-888, #888);
  text-align: center;
  font-family: "Roboto";
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  /* 142.86% */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

footer a {
  color: var(--Neutral-cm-gray-888, #888);
  text-decoration: none;
}

/*
.subscription-footer {
    background-color: #F0F0F0;
}
*/

/* ===== Footer (Mobile) ===== */
.footer-mobile {
  display: none;
  width: 360px;
  padding: var(--spacing-2_5-10px, 10px) var(--spacing-5-20px, 20px);
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2_5-10px, 10px);
  flex-shrink: 0;
  align-self: stretch;
}

/* ===== Footer (Desktop) ===== */
.footer-desktop {
  display: flex;
  width: 768px;
  padding: var(--spacing-2_5-10px, 10px) var(--spacing-5-20px, 20px);
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-5-20px, 20px);
  flex-shrink: 0;
  align-self: stretch;
}

/* ===============================
   Responsive Layouts
   =============================== */

@media screen and (max-width: 435px) {
  .form-box {
    width: 340px;
  }
}

@media screen and (max-width: 767px) {
  .footer-mobile {
    display: flex;
  }

  .footer-desktop {
    display: none;
  }
}
