* {
  box-sizing: border-box;
}

body {
  background: #f4f7fb;
  color: #152234;
  font-family: Manrope, Arial, sans-serif;
}

.submit-hero {
  min-height: 82vh;
  overflow: hidden;
  position: relative;
}

.submit-hero-media {
  background:
    linear-gradient(90deg, rgba(0, 31, 73, 0.92) 0%, rgba(0, 45, 94, 0.72) 44%, rgba(0, 45, 94, 0.18) 100%),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=82") center / cover;
  inset: 0;
  position: absolute;
}

.submit-hero-inner {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 82vh;
  padding-bottom: 58px;
  padding-top: 112px;
  position: relative;
  z-index: 1;
}

.submit-hero-copy {
  color: #fff;
  max-width: 760px;
}

.submit-hero-copy .section-kicker,
.submit-side .section-kicker,
.signin-panel .section-kicker {
  color: #f39c12;
}

.submit-hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 12px 0 18px;
}

.submit-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 660px;
}

.submit-hero-actions,
.form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.submit-hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.submit-hero-panel {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 31, 73, 0.28);
  display: grid;
  gap: 0;
  overflow: hidden;
}

.submit-hero-panel div {
  display: grid;
  gap: 6px;
  padding: 22px;
}

.submit-hero-panel div + div {
  border-top: 1px solid #dce6f2;
}

.submit-hero-panel strong {
  color: #002e6e;
  font-size: 1.05rem;
}

.submit-hero-panel span {
  color: #5e7088;
  font-size: 0.94rem;
  line-height: 1.55;
}

.submit-section {
  padding: 68px 0;
}

.submit-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 340px minmax(0, 1fr);
}

.submit-side {
  position: sticky;
  top: 96px;
}

.submit-side h2,
.signin-panel h2 {
  color: #002e6e;
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 10px 0 14px;
}

.submit-side p,
.signin-panel p {
  color: #61728a;
  line-height: 1.72;
}

.signed-user {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0, 46, 110, 0.07);
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 14px;
}

.signed-user img {
  border-radius: 50%;
  height: 44px;
  object-fit: cover;
  width: 44px;
}

.signed-user strong,
.signed-user span {
  display: block;
}

.signed-user strong {
  color: #172335;
  font-size: 0.95rem;
}

.signed-user span {
  color: #6b7d94;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.signed-user a {
  color: #002e6e;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  margin-top: 4px;
  text-decoration: none;
}

.signed-user a:hover,
.signed-user a:focus-visible {
  color: #f39c12;
  outline: none;
}

.submit-card {
  background: #fff;
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 46, 110, 0.08);
  padding: 28px;
}

.property-submit-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-row.four {
  grid-template-columns: 1fr 1fr 0.65fr 0.65fr;
}

.property-submit-form label {
  display: grid;
  gap: 8px;
}

.property-submit-form label > span {
  color: #23364d;
  font-size: 0.88rem;
  font-weight: 800;
}

.property-submit-form input,
.property-submit-form select,
.property-submit-form textarea {
  background: #fbfdff;
  border: 1px solid #d6e0ec;
  border-radius: 7px;
  color: #172335;
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 11px 13px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  width: 100%;
}

.property-submit-form textarea {
  line-height: 1.65;
  min-height: 148px;
  resize: vertical;
}

.feature-textareas textarea {
  min-height: 126px;
}

.property-submit-form label small {
  color: #657890;
  font-size: 0.82rem;
  line-height: 1.45;
}

.property-submit-form input:focus,
.property-submit-form select:focus,
.property-submit-form textarea:focus {
  background: #fff;
  border-color: #f39c12;
  box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.14);
}

.media-upload-note {
  align-items: center;
  background: #eef5fc;
  border: 1px solid #d6e5f3;
  border-radius: 7px;
  color: #31506f;
  display: flex;
  font-weight: 800;
  gap: 10px;
  min-height: 48px;
  padding: 11px 13px;
}

.media-upload-field {
  background: #f8fbfe;
  border: 1px dashed #b8cbe0;
  border-radius: 8px;
  cursor: pointer;
  padding: 20px;
}

.media-upload-field input[type="file"] {
  background: #fff;
  cursor: pointer;
  margin: 4px 0 10px;
  padding: 10px;
}

.media-upload-field strong {
  align-items: center;
  color: #002e6e;
  display: inline-flex;
  font-size: 1rem;
  gap: 8px;
}

.media-upload-field small,
.media-upload-field em {
  color: #657890;
  display: block;
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.55;
}

.media-upload-field em {
  color: #f39c12;
  font-weight: 800;
  margin-top: 8px;
}

.media-selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.media-selected-list span {
  align-items: center;
  background: #fff;
  border: 1px solid #d6e0ec;
  border-radius: 6px;
  color: #23364d;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 7px;
  max-width: 100%;
  min-height: 34px;
  padding: 6px 7px 6px 10px;
}

.media-selected-list button {
  align-items: center;
  background: #eef3f8;
  border: 0;
  border-radius: 5px;
  color: #5d7188;
  cursor: pointer;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.media-selected-list button:hover,
.media-selected-list button:focus-visible {
  background: #ffe8e8;
  color: #9b2424;
}

.form-alert {
  align-items: flex-start;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.form-alert.success {
  background: #ecfbf3;
  border: 1px solid #bdeed1;
  color: #116038;
}

.form-alert.error {
  background: #fff2f2;
  border: 1px solid #f4c4c4;
  color: #8a2323;
}

.form-alert strong,
.form-alert span {
  display: block;
}

.form-alert a {
  color: inherit;
  font-weight: 800;
}

.signin-panel {
  background:
    linear-gradient(135deg, rgba(0, 46, 110, 0.95), rgba(4, 79, 146, 0.88)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1200&q=80") center / cover;
  border-radius: 8px;
  color: #fff;
  min-height: 360px;
  padding: 34px;
}

.signin-panel h2,
.signin-panel p {
  color: #fff;
  max-width: 560px;
}

.submit-google-btn {
  align-items: center;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 6px;
  color: #3c4043;
  cursor: pointer;
  display: inline-flex;
  font: 700 0.98rem Manrope, Arial, sans-serif;
  gap: 12px;
  margin-top: 22px;
  min-height: 48px;
  padding: 0 18px;
}

.submit-google-btn img {
  height: 20px;
  width: 20px;
}

.submit-google-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.submit-google-btn[hidden] {
  display: none;
}

.submit-google-official {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  margin-top: 22px;
  min-height: 48px;
}

.submit-google-official[data-status]:not([data-status=""])::before {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  content: attr(data-status);
  display: inline-flex;
  font-size: 0.92rem;
  line-height: 1.45;
  padding: 12px 14px;
}

.signin-helper {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  margin-top: 14px;
  max-width: 460px;
}

.submit-footer {
  background: #061729;
  color: rgba(255, 255, 255, 0.82);
  padding: 24px 0;
}

.submit-footer .container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

.submit-footer strong,
.submit-footer a {
  color: #fff;
}

.submit-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .submit-hero-inner,
  .submit-layout {
    grid-template-columns: 1fr;
  }

  .submit-hero-inner {
    align-items: start;
  }

  .submit-hero-panel {
    max-width: 560px;
  }

  .submit-side {
    position: static;
  }

  .form-row.four,
  .form-row.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .submit-hero {
    min-height: auto;
  }

  .submit-hero-media {
    background:
      linear-gradient(180deg, rgba(0, 31, 73, 0.94), rgba(0, 45, 94, 0.76)),
      url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1100&q=82") center / cover;
  }

  .submit-hero-inner {
    min-height: auto;
    padding-bottom: 36px;
    padding-top: 96px;
  }

  .submit-hero h1 {
    font-size: 2.45rem;
  }

  .submit-card,
  .signin-panel {
    padding: 22px;
  }

  .form-row.two,
  .form-row.three,
  .form-row.four {
    grid-template-columns: 1fr;
  }

  .submit-hero-actions .btn-primary,
  .submit-hero-actions .btn-secondary,
  .form-actions .btn-primary,
  .form-actions .btn-secondary {
    justify-content: center;
    width: 100%;
  }
}
