/* =========================================================
   PDFLooks - Sign Up Page
   Final Responsive CSS
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #111827;
  background: #fffafa;
}


/* =========================================================
   PAGE
========================================================= */

.login-page {
  position: relative;

  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px 20px;

  overflow: hidden;

  background-color: #fffafa;

  background-image:
    radial-gradient(
      circle at 1px 1px,
      rgba(237, 28, 36, 0.10) 2px,
      transparent 2px
    );

  background-size: 18px 18px;
}


/* =========================================================
   BACKGROUND SHAPES
========================================================= */

.bg-shape {
  position: absolute;

  width: 390px;
  height: 390px;

  border-radius: 50%;

  z-index: 0;

  pointer-events: none;
}

.bg-shape-top {
  top: -270px;
  right: -110px;

  background: #ed1c24;
}

.bg-shape-bottom {
  bottom: -270px;
  left: -120px;

  background: #2563eb;
}


/* =========================================================
   WRAPPER
========================================================= */

.login-wrapper {
  position: relative;

  width: 100%;
  max-width: 820px;

  z-index: 2;
}


/* =========================================================
   SIGN UP CARD
========================================================= */

.login-card {
  width: 100%;

  background: #ffffff;

  border: 1px solid rgba(0, 0, 0, 0.03);

  border-radius: 30px;

  padding: 45px 60px 40px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   LOGO
========================================================= */

.login-logo {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 28px;
}

.login-logo a {
  display: inline-flex;

  text-decoration: none;
}

.login-logo img {
  width: 250px;
  max-width: 100%;

  height: auto;

  display: block;
}


/* =========================================================
   HEADING
========================================================= */

.login-heading {
  text-align: center;

  margin-bottom: 32px;
}

.login-heading h1 {
  margin: 0 0 10px;

  color: #111827;

  font-size: 44px;
  line-height: 1.2;

  font-weight: 800;
}

.login-heading p {
  margin: 0;

  color: #6b7280;

  font-size: 19px;
  line-height: 1.5;
}


/* =========================================================
   FORM
========================================================= */

.login-form {
  width: 100%;
}

.form-group {
  width: 100%;

  margin-bottom: 20px;
}

.form-group label {
  display: block;

  margin-bottom: 9px;

  color: #111827;

  font-size: 19px;
  line-height: 1.4;

  font-weight: 700;
}


/* =========================================================
   INPUT WRAPPER
========================================================= */

.input-wrapper {
  position: relative;

  width: 100%;
}


/* =========================================================
   INPUT
========================================================= */

.input-wrapper input {
  width: 100%;
  height: 66px;

  padding: 0 60px 0 72px;

  border: 1.5px solid #d7d7d7;

  border-radius: 13px;

  outline: none;

  background: #ffffff;

  color: #111827;

  font-family: inherit;
  font-size: 18px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.input-wrapper input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.input-wrapper input:hover {
  border-color: #c8c8c8;
}

.input-wrapper input:focus {
  border-color: #ed1c24;

  background: #ffffff;

  box-shadow:
    0 0 0 4px rgba(237, 28, 36, 0.08);
}


/* =========================================================
   INPUT ICON
========================================================= */

.input-icon {
  position: absolute;

  left: 21px;
  top: 50%;

  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(-50%);

  color: #ed1c24;

  font-size: 25px;
  line-height: 1;

  pointer-events: none;

  z-index: 2;
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {
  position: absolute;

  right: 14px;
  top: 50%;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(-50%);

  border: none;
  outline: none;

  background: transparent;

  color: #ed1c24;

  font-size: 23px;

  cursor: pointer;

  border-radius: 50%;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.password-toggle:hover {
  background: #fff1f1;
}

.password-toggle:active {
  transform: translateY(-50%) scale(0.94);
}


/* =========================================================
   ERROR
========================================================= */

.error-message {
  display: block;

  min-height: 16px;

  margin-top: 5px;

  color: #ed1c24;

  font-size: 13px;
  line-height: 1.3;
}


/* =========================================================
   PASSWORD STRENGTH
========================================================= */

.password-strength {
  width: 100%;

  margin-top: 7px;

  color: #6b7280;

  font-size: 13px;
}


/* =========================================================
   SECURITY MESSAGE
   IMPORTANT:
   HTML CLASS = security-message
========================================================= */

.security-message {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  gap: 12px;

  margin: 5px 0 18px;

  padding: 11px 15px;

  min-height: 58px;

  box-sizing: border-box;

  border: 1px solid rgba(237, 28, 36, 0.08);

  border-radius: 11px;

  background: #fff1f1;

  overflow: hidden;
}


/* =========================================================
   SECURITY ICON
========================================================= */

.security-icon {
  width: 38px;
  height: 38px;

  min-width: 38px;
  flex: 0 0 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #eaf8ef;

  color: #16a34a;

  font-size: 21px;
  line-height: 1;

  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.12);

  border: 1px solid #bbf7d0;
}

/* =========================================================
   SECURITY CONTENT
========================================================= */

.security-content {
  flex: 1;

  min-width: 0;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  justify-content: center;

  gap: 2px;

  overflow: hidden;
}

.security-content strong {
  display: block;

  margin: 0;

  color: #111827;

  font-size: 16px;

  line-height: 1.2;

  font-weight: 700;
}

.security-content span {
  display: block;

  margin: 0;

  color: #6b7280;

  font-size: 13px;

  line-height: 1.3;

  font-weight: 400;

  word-break: normal;
}


/* =========================================================
   SIGN UP BUTTON
========================================================= */

.login-btn {
  position: relative;

  width: 100%;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 13px;

  margin-top: 0;

  clear: both;

  border: none;
  border-radius: 12px;

  outline: none;

  background: #ed1c24;

  color: #ffffff;

  font-family: inherit;

  font-size: 22px;

  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 5px 15px rgba(237, 28, 36, 0.10);

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.login-btn:hover {
  background: #d9161d;

  transform: translateY(-2px);

  box-shadow:
    0 10px 25px rgba(237, 28, 36, 0.20);
}

.login-btn:active {
  transform: translateY(0);

  box-shadow:
    0 5px 12px rgba(237, 28, 36, 0.15);
}

.login-btn:disabled {
  opacity: 0.75;

  cursor: not-allowed;

  transform: none;

  box-shadow: none;
}

.login-btn-icon {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  font-size: 24px;
}


/* =========================================================
   OR DIVIDER
========================================================= */

.or-divider {
  width: 100%;

  display: flex;
  align-items: center;

  gap: 18px;

  margin: 28px 0;
}

.or-divider span {
  flex: 1;

  height: 1px;

  background: #efcaca;
}

.or-divider strong {
  width: 52px;
  height: 52px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #fff1f1;

  color: #ed1c24;

  font-size: 17px;

  font-weight: 700;
}


/* =========================================================
   SOCIAL LOGIN
========================================================= */

.social-login {
  width: 100%;

  display: flex;

  flex-direction: row;

  align-items: center;

  justify-content: center;

  gap: 18px;
}


/* =========================================================
   SOCIAL BUTTON
========================================================= */

.social-btn {
  position: relative;

  width: 90px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1.5px solid #d9d9d9;

  border-radius: 12px;

  outline: none;

  background: #ffffff;

  color: #111827;

  font-family: inherit;

  font-size: 0;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.social-btn:hover {
  background: #fff8f8;

  border-color: #ed1c24;

  transform: translateY(-2px);

  box-shadow:
    0 7px 18px rgba(0, 0, 0, 0.08);
}

.social-btn:active {
  transform: translateY(0);
}


/* =========================================================
   GOOGLE ICON
========================================================= */

.google-icon {
  width: 44px;
  height: 44px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.12);

  color: #4285f4;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 32px;

  font-weight: 700;

  line-height: 1;
}

.social-btn:hover .google-icon {
  transform: scale(1.08);
}


/* =========================================================
   FACEBOOK ICON
========================================================= */

.facebook-icon {
  width: 44px;
  height: 44px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: #1877f2;

  border: 2px solid #ffffff;

  box-shadow:
    0 3px 9px rgba(24, 119, 242, 0.28);

  color: #ffffff;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 31px;

  font-weight: 700;

  line-height: 1;
}

.social-btn:hover .facebook-icon {
  transform: scale(1.08);
}


/* =========================================================
   HIDE SOCIAL TEXT
========================================================= */

.social-btn > span:not(.google-icon):not(.facebook-icon) {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}


/* =========================================================
   LOGIN TEXT
========================================================= */

.signup-text {
  width: 100%;

  margin-top: 26px;

  text-align: center;

  color: #6b7280;

  font-size: 18px;

  line-height: 1.5;
}

.signup-text a {
  margin-left: 5px;

  color: #ed1c24;

  font-weight: 600;

  text-decoration: none;
}

.signup-text a:hover {
  color: #c9151c;

  text-decoration: underline;
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 801px) {

  html,
  body {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;
  }

  .login-page {
    width: 100%;
    height: 100vh;

    margin: 0;
    padding: 0;

    display: block;

    overflow: hidden;
  }

  .login-wrapper {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 800px;

    transform:
      translate(-50%, -50%)
      scale(0.64);

    transform-origin: center center;
  }

  .login-card {
    width: 800px;
    max-width: 800px;

    padding: 42px 55px 34px;

    border-radius: 28px;
  }


  /* LOGO */

  .login-logo {
    margin-bottom: 20px;
  }

  .login-logo img {
    width: 220px;
  }


  /* HEADING */

  .login-heading {
    margin-bottom: 26px;
  }

  .login-heading h1 {
    margin: 0 0 7px;

    font-size: 41px;

    line-height: 1.15;
  }

  .login-heading p {
    font-size: 17px;

    line-height: 1.4;
  }


  /* FORM */

  .form-group {
    margin-bottom: 18px;
  }

  .form-group label {
    margin-bottom: 7px;

    font-size: 17px;

    line-height: 1.2;
  }


  /* INPUT */

  .input-wrapper input {
    height: 58px;

    padding: 0 58px 0 64px;

    font-size: 17px;

    border-radius: 11px;
  }

  .input-icon {
    left: 19px;

    width: 30px;
    height: 30px;

    font-size: 22px;
  }

  .password-toggle {
    right: 10px;

    width: 38px;
    height: 38px;

    font-size: 20px;
  }


  /* =====================================================
     SECURITY MESSAGE
  ===================================================== */

  .security-message {
    width: 100%;

    min-height: 58px;

    display: flex;

    align-items: center;

    gap: 12px;

    margin: 4px 0 16px;

    padding: 10px 15px;

    border-radius: 11px;

    box-sizing: border-box;
  }

  .security-icon {
    width: 38px;
    height: 38px;

    min-width: 38px;

    flex: 0 0 38px;

    font-size: 21px;
  }

  .security-content {
    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    gap: 2px;
  }

  .security-content strong {
    font-size: 16px;

    line-height: 1.2;
  }

  .security-content span {
    font-size: 14px;

    line-height: 1.3;
  }


  /* SIGN UP BUTTON */

  .login-btn {
    width: 100%;

    height: 59px;

    margin-top: 0;

    gap: 10px;

    border-radius: 11px;

    font-size: 20px;
  }

  .login-btn-icon {
    font-size: 21px;
  }


  /* OR */

  .or-divider {
    margin: 20px 0;
  }

  .or-divider strong {
    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    font-size: 14px;
  }


  /* SOCIAL */

  .social-login {
    gap: 14px;
  }

  .social-btn {
    width: 82px;

    height: 58px;

    border-radius: 11px;
  }

  .google-icon,
  .facebook-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;
  }

  .google-icon {
    font-size: 29px;
  }

  .facebook-icon {
    font-size: 28px;
  }


  /* LOGIN TEXT */

  .signup-text {
    margin-top: 19px;

    font-size: 17px;

    line-height: 1.4;
  }
}


/* =========================================================
   1280 x 720
========================================================= */

@media (min-width: 801px) and (max-height: 740px) {

  .login-wrapper {
    transform:
      translate(-50%, -50%)
      scale(0.59);
  }
}


/* =========================================================
   1366 x 768
========================================================= */

@media (min-width: 801px)
and (min-height: 741px)
and (max-height: 800px) {

  .login-wrapper {
    transform:
      translate(-50%, -50%)
      scale(0.63);
  }
}


/* =========================================================
   VERY SHORT LAPTOP
========================================================= */

@media (min-width: 801px) and (max-height: 680px) {

  .login-wrapper {
    transform:
      translate(-50%, -50%)
      scale(0.54);
  }
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) and (min-height: 801px) {

  .login-wrapper {
    transform:
      translate(-50%, -50%)
      scale(0.70);
  }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

  html,
  body {
    width: 100%;
    min-height: 100%;

    overflow-x: hidden;
    overflow-y: auto;
  }

  .login-page {
    width: 100%;

    min-height: 100vh;

    height: auto;

    padding: 25px 15px 35px;

    display: flex;

    align-items: flex-start;

    justify-content: center;

    overflow: visible;
  }

  .login-wrapper {
    position: relative;

    width: 100%;

    max-width: 600px;

    margin: 0;

    transform: none !important;
  }

  .login-card {
    width: 100%;

    max-width: 600px;

    height: auto;

    padding: 35px 32px 32px;

    transform: none !important;

    zoom: 1 !important;

    overflow: visible;

    border-radius: 26px;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .login-page {
    padding: 18px 12px 30px;
  }

  .login-card {
    padding: 30px 22px 28px;

    border-radius: 22px;
  }

  .login-logo {
    margin-bottom: 23px;
  }

  .login-logo img {
    width: 205px;
  }

  .login-heading {
    margin-bottom: 25px;
  }

  .login-heading h1 {
    font-size: 30px;

    line-height: 1.2;
  }

  .login-heading p {
    font-size: 15px;
  }

  .form-group {
    margin-bottom: 17px;
  }

  .form-group label {
    font-size: 16px;
  }

  .input-wrapper input {
    height: 58px;

    padding-left: 58px;
    padding-right: 52px;

    font-size: 16px;
  }

  .input-icon {
    left: 16px;

    width: 28px;
    height: 28px;

    font-size: 21px;
  }

  .password-toggle {
    right: 9px;

    width: 38px;
    height: 38px;

    font-size: 21px;
  }


  /* =====================================================
     MOBILE SECURITY MESSAGE
  ===================================================== */

  .security-message {
    width: 100%;

    min-height: 56px;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 10px;

    margin: 5px 0 18px;

    padding: 11px 13px;

    box-sizing: border-box;

    border-radius: 11px;

    overflow: hidden;
  }

  .security-icon {
    width: 36px;
    height: 36px;

    min-width: 36px;

    flex: 0 0 36px;

    font-size: 20px;
  }

  .security-content {
    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    gap: 2px;

    overflow: hidden;
  }

  .security-content strong {
    font-size: 14px;

    line-height: 1.2;
  }

  .security-content span {
    font-size: 12px;

    line-height: 1.3;
  }


  /* SIGN UP BUTTON */

  .login-btn {
    width: 100%;

    height: 59px;

    margin-top: 0;

    font-size: 18px;
  }


  /* OR */

  .or-divider {
    margin: 23px 0;
  }

  .or-divider strong {
    width: 44px;
    height: 44px;

    font-size: 14px;
  }


  /* SOCIAL */

  .social-login {
    flex-direction: row;

    align-items: center;

    justify-content: center;

    gap: 12px;
  }

  .social-btn {
    width: 76px;

    height: 54px;

    border-radius: 10px;

    font-size: 0;
  }

  .google-icon,
  .facebook-icon {
    width: 36px;
    height: 36px;
  }

  .google-icon {
    font-size: 27px;
  }

  .facebook-icon {
    font-size: 25px;
  }


  /* LOGIN */

  .signup-text {
    margin-top: 22px;

    font-size: 15px;
  }


  /* BACKGROUND */

  .bg-shape {
    width: 280px;
    height: 280px;
  }

  .bg-shape-top {
    top: -210px;
    right: -130px;
  }

  .bg-shape-bottom {
    bottom: -210px;
    left: -130px;

    background: #2563eb;
  }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

  .login-page {
    padding: 12px 9px 25px;
  }

  .login-card {
    padding: 25px 16px 24px;

    border-radius: 19px;
  }

  .login-logo {
    margin-bottom: 18px;
  }

  .login-logo img {
    width: 180px;
  }

  .login-heading {
    margin-bottom: 21px;
  }

  .login-heading h1 {
    font-size: 26px;
  }

  .login-heading p {
    font-size: 14px;
  }

  .form-group label {
    font-size: 15px;
  }

  .input-wrapper input {
    height: 54px;

    font-size: 15px;

    padding-left: 53px;
  }

  .input-icon {
    left: 14px;

    font-size: 19px;
  }


  /* =====================================================
     SMALL MOBILE SECURITY MESSAGE
  ===================================================== */

  .security-message {
    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;

    gap: 9px;

    margin: 5px 0 17px;

    padding: 10px 11px;

    box-sizing: border-box;

    overflow: hidden;
  }

  .security-icon {
    width: 35px;
    height: 35px;

    min-width: 35px;

    flex: 0 0 35px;

    font-size: 19px;
  }

  .security-content {
    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    gap: 2px;
  }

  .security-content strong {
    font-size: 13px;

    line-height: 1.2;
  }

  .security-content span {
    font-size: 11px;

    line-height: 1.3;
  }


  /* SIGN UP BUTTON */

  .login-btn {
    height: 55px;

    font-size: 17px;
  }


  /* SOCIAL */

  .social-login {
    flex-direction: row;

    justify-content: center;

    gap: 10px;
  }

  .social-btn {
    width: 70px;

    height: 51px;

    font-size: 0;
  }

  .google-icon,
  .facebook-icon {
    width: 33px;
    height: 33px;
  }

  .google-icon {
    font-size: 25px;
  }

  .facebook-icon {
    font-size: 23px;
  }

  .signup-text {
    font-size: 14px;
  }
}