/* ==========================================================================
   Influential — Login Page
   ========================================================================== */

:root {
  --font-body: "IBM Plex Sans", sans-serif;

  --color-primary: #0431FA;
  --color-primary-hover: #032CE6;
  --color-primary-light: #1866FE;
  --color-dark: #191919;
  --color-off-black: #333333;
  --color-cotton: #F0F1E3;
  --color-white: #FFFFFF;

  --error-color: #D32F2F;
}

/* Reset
   ========================================================================== */

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-cotton);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  background-color: transparent;
  text-decoration: none;
}

img {
  border-style: none;
}

button,
input {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  overflow: visible;
}

button {
  text-transform: none;
  cursor: pointer;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* Page Container
   ========================================================================== */

.page-container {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Animations
   ========================================================================== */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUpIn {
  from {
    opacity: 0;
    transform: translate(-50%, 60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 40%);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero / Header
   ========================================================================== */

.page-header {
  position: relative;
  height: 50vh;
  min-height: 400px;
  background-color: var(--color-primary);
  overflow: hidden;
}

.page-header__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 60px 40px;
}

.page-header__logo {
  position: relative;
  animation: fadeInDown 0.8s ease-out both;
}

.page-header__logo img {
  width: 280px;
  height: auto;
  object-fit: contain;
}

/* Hero Wordmark Pill
   ========================================================================== */

.hero-wordmark {
  position: absolute;
  bottom: 0;
  font-family: var(--font-body);
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 0.08em 0.5em;
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  white-space: nowrap;
  left: 50%;
  transform: translate(-50%, 40%);
  animation: slideUpIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
  will-change: transform;
}

/* Form Section
   ========================================================================== */

.creator-form {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 24px;
  background-color: var(--color-cotton);
}

.creator-form__inner {
  position: relative;
  width: 100%;
  max-width: 620px;
  padding: 40px 56px 48px;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.7s ease-out 0.6s both;
}

/* Form Actions (Forgot Password) */

.creator-form__action {
  text-align: end;
  font-size: 14px;
  line-height: 2;
  margin-bottom: 20px;
}

.creator-form__action a {
  color: var(--color-primary);
  transition: color 0.2s;
}

.creator-form__action a:hover {
  color: var(--color-primary-hover);
}

/* Form Error/Success */

.auth-platform-form__error,
.auth-platform-form__success {
  margin: 0;
}

.auth-platform-form__error {
  color: var(--error-color);
}

.auth-platform-form__error:empty,
.auth-platform-form__success:empty {
  display: none;
}

.creator-form .forms-note {
  font-size: 13px;
  color: var(--color-off-black);
  margin-top: 5px;
  margin-bottom: 0;
}

.creator-form .forms-note:empty {
  display: none;
}

/* Form Fields */

.creator-form-fields {
  display: flex;
  gap: 32px;
  margin-bottom: 20px;
}

.creator-form-fields__col {
  flex: 1 1 0;
  min-width: 0;
}

/* Form Input */

.form-input {
  margin: 0;
  padding: 16px 0;
  font-size: 14px;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--color-dark);
  background: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-bottom: 2px solid #CCCCCC;
  transition: border-bottom-color 0.2s;
  outline: none;
  width: 100%;
}

.form-input:hover {
  border-bottom-color: var(--color-primary-light);
}

.form-input:focus {
  border-bottom-color: var(--color-primary);
}

.form-input::placeholder {
  color: #999999;
}

/* Button */

.creator-form-btn {
  padding-top: 12px;
  text-align: center;
}

.btn {
  position: relative;
  display: inline-block;
  border-radius: 30px;
  border: 2px solid var(--color-dark);
  padding: 0;
  min-width: 260px;
  height: 56px;
  background-color: transparent;
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.btn:active {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn__inner {
  position: relative;
  z-index: 3;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 1px;
  line-height: 52px;
  transition: color 0.25s;
}

.btn:hover .btn__inner,
.btn:active .btn__inner {
  color: var(--color-white);
}

.btn__arrow {
  width: 14px;
  height: 13px;
  vertical-align: middle;
  margin-left: 6px;
  position: relative;
  top: -1px;
}

/* Footer
   ========================================================================== */

.footer {
  padding: 0 20px;
  background-color: var(--color-cotton);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer__inner {
  min-height: 60px;
  margin: 0 auto;
  max-width: 1170px;
  padding: 20px 36px;
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 20px;
}

.footer__cpr {
  color: var(--color-off-black);
}

/* Utilities
   ========================================================================== */

.c-error {
  color: var(--error-color);
}

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

@media screen and (max-width: 800px) {
  .page-header {
    min-height: 300px;
  }

  .page-header__logo img {
    width: 200px;
  }

  .hero-wordmark {
    border-width: 2px;
    font-size: clamp(56px, 10vw, 120px);
  }

  .creator-form__inner {
    padding: 24px 32px 32px;
  }

  .creator-form-fields {
    gap: 20px;
  }
}

@media screen and (max-width: 600px) {
  .page-header {
    height: 40vh;
    min-height: 240px;
  }

  .page-header__content {
    padding: 40px 20px;
  }

  .page-header__logo img {
    width: 160px;
  }

  .hero-wordmark {
    font-size: clamp(40px, 11vw, 70px);
    padding: 0.1em 0.45em;
  }

  .creator-form {
    padding: 24px 12px 16px;
  }

  .creator-form__inner {
    padding: 20px 16px 28px;
  }

  .creator-form-fields {
    flex-direction: column;
    gap: 0;
  }

  .creator-form-fields__col {
    margin-bottom: 16px;
  }

  .btn {
    min-width: 200px;
  }

  .footer__inner {
    flex-direction: column;
    min-height: auto;
    gap: 8px;
    padding: 16px;
  }
}
