:root {
  --color-gray: #949599;
  --color-green: #16ff5e;
  --color-blue-light: #2283c4;
  --color-blue-dark: #14398d;
  --color-white: #ffffff;
  --color-black: #000000;

  --input-bg: #f7f8fa;
  --input-border: #d5d8de;
  --disabled-bg: #eeeeee;
  --shadow: 0 24px 55px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100dvh;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-black);
  background:
    radial-gradient(circle at bottom left, rgba(34, 131, 196, 0.65), transparent 35%),
    linear-gradient(135deg, var(--color-blue-dark) 0%, var(--color-blue-light) 100%);
}

.page {
  width: 100%;
  height: 100%;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  background: var(--color-white);
  border-radius: 26px;
  box-shadow: var(--shadow);
  display: flex;
  max-width: 1150px;
  width: 100%;
  height: 100%;
  min-height: 620px;
  max-height: 680px;
}

/* BRAND SECTION - START */
.brand-section {
  width: 40%;
  display: flex;
  align-items: center;
  position: relative;
  min-width: 400px;
}

.brand-section::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 95%;
  background: #dddddd;
  transform: translateY(-50%);
}

.brand-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;

  h2 {
    margin-bottom: 10px;
    color: var(--color-blue-dark);
    font-size: 36px;
    line-height: 1.2;
  }

  p {
    max-width: 340px;
    color: var(--color-gray);
    font-size: 16px;
    line-height: 1.45;
  }
}

.brand-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
}
/* BRAND SECTION - END */

.form-section, #url-section {
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
}

#url-section {
  display: none;
}

#url-section a {
  overflow-wrap: anywhere;
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title h3 {
  font-size: 21px;
  color: var(--color-black);
}

.section-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue-dark), var(--color-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.section-icon svg {
  width: 100%;
  height: 100%;
}

.divider {
  height: 1px;
  background: #dddddd;
  margin: 16px 0 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

label {
  font-size: 14px;
  color: var(--color-black);
}

input,
select {
  width: 100%;
  height: 37px;
  padding: 0 14px;
  border: 1px solid var(--input-border);
  border-radius: 9px;
  background: var(--input-bg);
  color: var(--color-black);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus {
  border-color: var(--color-blue-light);
  box-shadow: 0 0 0 4px rgba(34, 131, 196, 0.14);
  background: var(--color-white);
}

input:disabled {
  cursor: not-allowed;
  background: var(--disabled-bg);
  color: var(--color-gray);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.checkbox-group input {
  width: 20px;
  height: 20px;
  accent-color: var(--color-green);
  cursor: pointer;
}

.checkbox-group label {
  cursor: pointer;
  font-size: 15px;
}

.environment-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.btnWrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.btn {
  align-items: center;
  background: linear-gradient(90deg, var(--color-blue-dark), var(--color-blue-light));
  border-radius: 1000px;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
  height: 43px;
  justify-content: center;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  width: 220px;
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20, 57, 141, 0.25);
}

.btn:active {
  transform: translateY(0);
}

.btn span {
  width: 24px;
  height: 24px;
}

.btn span svg {
  width: 100%;
  height: 100%;
}

.error {
  border-color: #d93025 !important;
  box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.12) !important;
}

/* Responsive */
@media (max-width: 900px) {
  html, body {
    height: auto;
    min-height: 100dvw;
  }

  .page {
    padding: 24px 20px;
  }

  .card {
    min-height: 0;
    max-height: max-content;
    flex-direction: column;
    align-items: center;
  }

  .brand-section, .form-section, #url-section {
    width: 100%;
  }

  #url-section {
    padding: 20px 40px;
  }

  .brand-section {
    min-width: 0;
  }

  .brand-section::after {
    top: auto;
    bottom: 0;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    width: 95%;
  }

  .brand-content {
    flex-flow: column-reverse;

    div {
      margin-bottom: 20px;
      padding: 0 20px;
    }
  }

  .brand-logo {
    position: relative;
    top: auto;
    left: auto;
    margin: 20px 0 20px;
  }

  .form-section {
    padding: 28px 30px;
  }
}