@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap');

:root {
  --navy: #071426;
  --navy-light: #0d2038;
  --blue: #176b87;
  --cyan: #39b9c8;
  --cyan-light: #79d5dc;
  --white: #ffffff;
  --background: #f5f8fa;
  --text: #152333;
  --muted: #6f7c89;
  --border: #dce4e9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--text);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 46% 54%;
}

.brand-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(57, 185, 200, 0.2), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(23, 107, 135, 0.22), transparent 35%),
    linear-gradient(145deg, var(--navy-light), var(--navy));
}

.brand-panel::before,
.brand-panel::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(121, 213, 220, 0.12);
  border-radius: 50%;
}

.brand-panel::before {
  width: 500px;
  height: 500px;
  top: -220px;
  left: -220px;
}

.brand-panel::after {
  width: 420px;
  height: 420px;
  right: -210px;
  bottom: -210px;
}

.brand-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
}

.logo {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  border: 1px solid rgba(121, 213, 220, 0.45);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.logo span {
  font-family: 'Manrope', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--cyan-light);
}

.brand-content h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -3px;
}

.brand-content h1 span,
.mobile-brand span {
  color: var(--cyan);
}

.brand-subtitle {
  max-width: 450px;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.brand-line {
  width: 52px;
  height: 2px;
  margin: 38px 0;
  background: var(--cyan);
}

.brand-message {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  background: var(--white);
}

.login-box {
  width: 100%;
  max-width: 430px;
}

.mobile-brand {
  display: none;
  margin-bottom: 45px;
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
}

.login-label {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
}

.login-box h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  color: var(--navy);
}

.login-description {
  margin-top: 14px;
  margin-bottom: 42px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.form-group input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder {
  color: #a5afb8;
}

.form-group input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(57, 185, 200, 0.12);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 65px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  padding: 5px;
  cursor: pointer;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 4px 0 30px;
}

.remember-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
}

.remember-option input {
  accent-color: var(--blue);
}

.forgot-password {
  cursor: pointer;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.login-button {
  width: 100%;
  height: 56px;
  cursor: pointer;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(23, 107, 135, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(23, 107, 135, 0.28);
}

.login-button:active {
  transform: translateY(0);
}

.login-footer {
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: #a0aab3;
}

@media (max-width: 850px) {
  .login-page {
    display: block;
  }

  .brand-panel {
    display: none;
  }

  .login-panel {
    min-height: 100vh;
    padding: 40px 24px;
  }

  .mobile-brand {
    display: block;
  }

  .login-box h2 {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .login-description {
    margin-bottom: 34px;
  }
}