/* ========================================
   HOST PAGE
   ======================================== */

.host-page {
  background: var(--bg);
}


/* ========================================
   HOST HEADER
   ======================================== */

.host-profile-heading {
  margin-bottom: 30px;
}

.host-profile-heading h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
}

.host-profile-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}


/* ========================================
   PROFILE CARD
   ======================================== */

.host-profile-card {
  background: #121212;
  border: 1px solid #252525;
  border-radius: 16px;
  padding: 24px;
}


/* Desktop: avatar + Name */

.host-profile-desktop-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 36px;
  align-items: end;
}

.host-profile-avatar {
  grid-column: 1;
  grid-row: 1;
}

.host-avatar-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #252525;
  color: #f2f2f2;

  font-size: 42px;
  font-weight: 600;
}

.host-profile-fields {
  display: contents;
}

.host-profile-name {
  grid-column: 2;
  grid-row: 1;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;

  padding-bottom: 4px;
}

.host-profile-name label {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.host-profile-name input {
  width: 300px;
  box-sizing: border-box;

  background: #0b0b0b;
  border: 1px solid #303030;
  border-radius: 0;

  color: var(--text);
  padding: 8px 12px;

  font-family: inherit;
  font-size: 16px;
}


/* About you */

.host-profile-form {
  grid-column: 1 / -1;
  grid-row: 2;

  margin-top: 24px;
}

.host-profile-form label {
  display: block;
  margin-bottom: 7px;

  color: var(--muted);
  font-size: 14px;
}

.host-profile-form textarea {
  width: 100%;
  box-sizing: border-box;

  background: #0b0b0b;
  border: 1px solid #303030;
  border-radius: 8px;

  color: var(--text);
  padding: 12px;

  font-family: inherit;
  font-size: 15px;

  resize: vertical;
}

.host-profile-save {
  margin-top: 18px;

  width: 100%;
  height: 42px;

  padding: 0 24px;

  border: 0;
  border-radius: 10px;

  background: #f2f2f2;
  color: #111;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
}


/* ========================================
   ACCOUNT INFORMATION
   ======================================== */

.host-account-card {
  margin-top: 28px;

  background: #121212;
  border: 1px solid #252525;
  border-radius: 16px;

  padding: 24px;
}

.host-account-card h2 {
  margin: 0 0 22px;

  font-size: 20px;
  font-weight: 500;
}

.host-account-row {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-bottom: 16px;
}

.host-account-row > div {
  width: 80px;

  color: var(--muted);
  font-size: 14px;
}

.host-account-row input {
  width: 300px;
  box-sizing: border-box;

  padding: 8px 12px;

  background: #0b0b0b;
  border: 1px solid #303030;
  border-radius: 0;

  color: var(--text);
  font-family: inherit;
  font-size: 16px;
}

.host-button {
  height: 38px;
  padding: 0 14px;

  border: 0;
  border-radius: 8px;

  cursor: pointer;
  font-size: 14px;
}

.host-access-button {
  background: #272727;
  color: #f2f2f2;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 700px) {

  .host-profile-card,
  .host-account-card {
    padding: 16px;
  }

  .host-profile-desktop-layout {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 16px;
    align-items: center;
  }

  .host-profile-avatar {
    grid-column: 1;
    grid-row: 1;
  }

  .host-avatar-circle {
    width: 72px;
    height: 72px;

    font-size: 22px;
  }

  .host-profile-fields {
    display: contents;
  }

  .host-profile-name {
    grid-column: 2;
    grid-row: 1;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;

    padding-bottom: 0;
  }

  .host-profile-name input {
    width: 100%;
  }

  .host-profile-form {
    grid-column: 1 / -1;
    grid-row: 2;

    margin-top: 20px;
  }

  .host-account-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

  .host-account-row > div {
    width: 100%;
    margin-bottom: 6px;
  }

  .host-account-row input {
  grid-column: 1;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.host-account-row .host-access-button {
  grid-column: 2;
}
}
