/*--------------------------- Login Page ------------------------------------*/

.lf-01,
.lf-01 *,
.lf-01 *::before,
.lf-01 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.lf-01 {
  --accent: oklch(0.58 0.19 264);
  --brand-bg: #d9e2ec;
  --radius: 14px;
  --field-h: 48px;
  font-family: 'Segoe UI',system-ui,sans-serif;
  width: 100%;
  min-height: 100vh;
  background: #eef0f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lf-01__shell {
  width: min(960px,100%);
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(16,24,60,.5);
}

.lf-01__brand {
  position: relative;
  background: var(--brand-bg);
  color: #fff;
  overflow: hidden;
  display: flex;
}

.lf-01__mesh {
  position: absolute;
  inset: 0;
}

.lf-01__brandbody {
  position: relative;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.lf-01__logo img {
  height: 160px;
}

.lf-01__quote blockquote {
  font-size: 15px;
  line-height: 1.5;
  color: #000000;
}

.lf-01__panel {
  display: grid;
  place-items: center;
  padding: 48px;
}

.lf-01__form {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lf-01__h {
  font-size: 28px;
  font-weight: 700;
  color: #141a2e;
  letter-spacing: -.02em;
}

.lf-01__sub {
  font-size: 14px;
  color: #69708a;
  margin-top: -8px;
  margin-bottom: 6px;
}

.lf-01__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lf-01__label {
  font-size: 13px;
  font-weight: 600;
  color: #39405a;
}

.lf-01__field input {
  height: var(--field-h);
  border: 1.5px solid #d6dae6;
  border-radius: var(--radius);
  padding: 0 14px;
  font-size: 15px;
  color: #141a2e;
  background: #fbfbfe;
  transition: border-color .18s,box-shadow .18s;
}

.lf-01__field input::placeholder {
  color: #a3aac2;
}

.lf-01__field input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px oklch(0.58 0.19 264/.16);
}

.lf-01__submit {
  height: var(--field-h);
  margin-top: 4px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: transform .12s,filter .18s;
}

.lf-01__submit:hover {
  filter: brightness(1.06);
}

.lf-01__submit:active {
  transform: scale(.985);
}

.lf-01__submit:focus-visible {
  outline: 3px solid oklch(0.58 0.19 264/.5);
  outline-offset: 3px;
}

.lf-01__foot {
  font-size: 13.5px;
  color: #69708a;
  text-align: center;
}

.lf-01__foot a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.lf-01__foot a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .lf-01__shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lf-01__brand {
    display: none;
  }

  .lf-01__panel {
    padding: 36px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lf-01 * {
    transition: none!important;
  }
}

/*--------------------------- Login Feedback ------------------------------------*/

#loginWait, #loginErrorMessage {
    display: none;
    text-align: center;
    padding-top: 20px;
}

#loginWait {
    background: url('/ajax.gif') center center no-repeat;
}

#loginErrorMessage {
    color: red;
}

.loginProgress #loginWait {
    display: block;
}

.loginProgress #loginErrorMessage {
    display: none;
}

.loginProgress #loginButton {
    opacity: 0.3;
    pointer-events: none
}

.loginError #loginErrorMessage {
    display: block;
}

/*--------------------------- POST-Login ------------------------------------*/

.gis-dashboard {
  min-height: 100vh;
  background: #eef0f5;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.gis-dashboard__header {
  background: #fff;
  border-bottom: 1px solid #d6dae6;
  box-shadow: 0 2px 8px rgba(16, 24, 60, 0.08);
}

.gis-dashboard__header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.gis-dashboard__title {
  font-size: 28px;
  font-weight: 700;
  color: #141a2e;
  letter-spacing: -0.02em;
  margin: 0 0 4px 0;
}

.gis-dashboard__subtitle {
  font-size: 14px;
  color: #69708a;
  margin: 0;
}

.gis-dashboard__logout {
  padding: 10px 20px;
  border: 1.5px solid #d6dae6;
  border-radius: 14px;
  background: #fff;
  color: #141a2e;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.gis-dashboard__logout:hover {
  border-color: oklch(0.58 0.19 264);
  color: oklch(0.58 0.19 264);
  box-shadow: 0 2px 8px rgba(88, 73, 196, 0.1);
}

.gis-dashboard__logout:active {
  transform: scale(0.985);
}

.gis-dashboard__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.gis-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.project-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #d6dae6;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.18s ease;
  cursor: pointer;
}

.project-card:hover {
  border-color: oklch(0.58 0.19 264);
  box-shadow: 0 12px 32px rgba(16, 24, 60, 0.12);
  transform: translateY(-2px);
}

.project-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #141a2e;
  margin: 0;
  line-height: 1.3;
}

.project-card__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.project-card__link:hover {
  color: oklch(0.58 0.19 264);
}

.project-card__description {
  font-size: 14px;
  color: #69708a;
  margin: 0;
  line-height: 1.6;
  flex-grow: 1;
}

.project-card__cta {
  display: inline-block;
  margin-top: 8px;
  color: oklch(0.58 0.19 264);
  font-weight: 600;
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.18s ease;
}

.project-card__cta:hover {
  gap: 6px;
}

.gis-dashboard__empty {
  background: #fff;
  border: 1.5px dashed #d6dae6;
  border-radius: 14px;
  padding: 60px 24px;
  text-align: center;
  color: #69708a;
  font-size: 15px;
}

@media (max-width: 768px) {
  .gis-dashboard__header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .gis-dashboard__title {
    font-size: 24px;
  }

  .gis-dashboard__content {
    padding: 24px 16px;
  }

  .gis-dashboard__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gis-dashboard *,
  .project-card {
    transition: none !important;
  }
}

/*--------------------------- GWS ------------------------------------*/

.gws {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
