/* ===============================
   PORTAL PAGE — PAGE BACKGROUND
   Overrides the default .page background (#f7f7f7) to match color-1 (#fcfcfc)
   so the area below the settings section is the same shade as the section itself.
   =============================== */

#portal {
  background-color: var(--bg-color-1);
}

/* ===============================
   PORTAL PAGE — PAGE HEADER
   =============================== */

#portal .pageheader {
  background-image: url(../img/portal.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 190px 0 35px 0;
}

#portal .pageheader .title {
  color: #fff;
  border: none;
}

/* ===============================
   PORTAL — SECTION TRIANGLE
   =============================== */

#portal-login:after {
  top: auto;
  border: solid transparent;
  border-color: var(--bg-color-1);
  border-top-color: var(--bg-page);
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-width: 30px;
  left: 50%;
  margin-left: -30px;
  z-index: 1;
}

/* ===============================
   PORTAL — LOGIN SECTION
   =============================== */

.container-login100 {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.wrap-login100 {
  width: 500px;
  max-width: 90%;
  background: var(--bg-login-form);
  border: 1px solid var(--border-card);
  border-radius: 4px;
  padding: 50px 85px;
}

.login100-form {
  width: 100%;
}

.txt1 {
  display: block;
  font-size: 14px;
  color: #666;
  padding-bottom: 6px;
}

.wrap-input100 {
  width: 100%;
  position: relative;
  border-bottom: 1px solid #ccc;
}

.m-b-36 {
  margin-bottom: 36px;
}
.m-b-28 {
  margin-bottom: 28px;
}

.input100 {
  width: 100%;
  background: transparent;
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.4;
  border: none;
  padding: 8px 0;
  outline: none;
}

.focus-input100 {
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.input100:focus ~ .focus-input100 {
  width: 100%;
}

.login100-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 36px;
}

.contact100-form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-checkbox100 {
  accent-color: var(--accent);
  cursor: pointer;
}

.label-checkbox100 {
  color: #555;
  font-size: 14px;
  cursor: pointer;
  margin: 0;
}

.txt3 {
  color: #555;
  font-size: 14px;
  text-decoration: none;
}

.txt3:hover,
.txt3:focus {
  color: var(--accent);
}

.container-login100-form-btn {
  width: 100%;
}

.login100-form-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s ease;
}

.login100-form-btn:hover,
.login100-form-btn:focus {
  background: var(--accent-hover);
}

/* ===============================
   MEDIA QUERIES
   =============================== */

/* — Tablet and below (≤ 860px) — */
@media (max-width: 860px) {
  .wrap-login100 {
    padding: 40px 40px;
  }
}

/* — Mobile (≤ 600px) — */
@media (max-width: 600px) {
  .wrap-login100 {
    padding: 30px 24px;
  }

  .login100-form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
