* {
  box-sizing: border-box;
}

:root {
  --primary: #175cd3;
  --primary-dark: #1047a8;
  --secondary: #0f766e;
  --background: #eef4fb;
  --white: #ffffff;
  --text: #24324a;
  --muted: #69758c;
  --border: #dce3ed;
  --danger: #c62828;
  --danger-bg: #fdecec;
  --success: #18794e;
  --success-bg: #eaf8f0;
  --warning: #946200;
  --warning-bg: #fff6d8;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(23, 92, 211, 0.16), transparent 34%), linear-gradient(135deg, #f4f8fd, #e9f1fa);
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 42% 58%;
}

.auth-information {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 55px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(145deg, rgba(8, 50, 115, 0.96), rgba(15, 118, 110, 0.92));
}

.auth-information::before,
.auth-information::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.auth-information::before {
  width: 280px;
  height: 280px;
  top: -110px;
  right: -90px;
}

.auth-information::after {
  width: 340px;
  height: 340px;
  left: -170px;
  bottom: -170px;
}

.brand,
.information-content,
.information-footer {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 17px;
  font-weight: 700;
}

.brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 23px;
}

.information-content {
  max-width: 480px;
}

.information-content h1 {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.2;
}

.information-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.information-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.information-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.check-icon {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.information-footer {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.auth-form-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
}

.auth-card {
  width: 100%;
  max-width: 510px;
  padding: 38px;
  background: var(--white);
  border: 1px solid rgba(220, 227, 237, 0.85);
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(34, 55, 90, 0.12);
}

.auth-card.register-card {
  max-width: 820px;
}

.auth-header {
  margin-bottom: 28px;
}

.auth-header span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.auth-header h2 {
  margin: 0 0 9px;
  font-size: 30px;
}

.auth-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.alert {
  margin-bottom: 20px;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.alert-danger {
  color: var(--danger);
  background: var(--danger-bg);
  border: 1px solid #f6c9c9;
}

.alert-success {
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid #c6ead5;
}

.alert-warning {
  color: var(--warning);
  background: var(--warning-bg);
  border: 1px solid #f1df9c;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-grid .form-group {
  margin-bottom: 0;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.required {
  color: var(--danger);
}

.form-control {
  width: 100%;
  height: 47px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: var(--white);
  font-size: 14px;
  transition: 0.2s ease;
}

textarea.form-control {
  min-height: 105px;
  height: auto;
  padding-top: 13px;
  resize: vertical;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(23, 92, 211, 0.1);
}

.form-control.is-invalid {
  border-color: var(--danger);
}

.invalid-feedback {
  display: block;
  margin-top: 6px;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.4;
}

.form-text {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.button {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: var(--white);
  background: var(--primary);
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s ease;
}

.button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.auth-footer {
  margin-top: 23px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.register-action {
  margin-top: 24px;
}

@media (max-width: 1000px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-information {
    min-height: auto;
    padding: 38px;
  }

  .information-content {
    margin: 45px 0;
  }

  .information-content h1 {
    font-size: 32px;
  }
}

@media (max-width: 700px) {
  .auth-form-section {
    padding: 20px;
  }

  .auth-card {
    padding: 26px 21px;
  }

  .auth-information {
    padding: 28px 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: auto;
  }

  .information-content h1 {
    font-size: 28px;
  }
}
