/* font config */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

.font-exo {
  font-family: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-exo-bold {
  font-family: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

/* Login Page Styles */
.login-body {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100vh;
  background-color: white;
  font-family: "Exo 2", sans-serif;
}

.login-container {
  position: relative;
  display: flex;
  align-items: center;
  height: 100vh;
  margin: 0 auto;
  max-width: 1200px;
  padding: 1rem;
  width: 100%;
}

.login-brand {
  width: 50%;
}

.brand-logo {
  margin: -2.5rem 0;
  background-position: left;
  max-width: 100%;
  height: auto;
}

.brand-title {
  margin-bottom: 0.5rem;
  font-size: 2.25rem;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 1.25rem;
  color: #404040;
}

.login-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.5rem;
  margin-bottom: 1.25rem;
  border-radius: 0.375rem;
  background-color: #f0fdf4;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 28rem;
}

.login-header {
  text-align: center;
}

.login-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #1E6811;
}

.login-subtitle {
  color: #525252;
}

.login-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 1.125rem;
}

.form-input-group {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid #C8DFC4;
  background-color: white;
  border-radius: 0.25rem;
  gap: 0.5rem;
}

.form-input {
  flex: 1;
  height: 100%;
  background-color: transparent;
  outline: none;
  width: 100%;
}

.login-button {
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  font-size: 1.25rem;
  text-align: center;
  color: white;
  background-color: #1E6811;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.login-button:hover {
  background-color: #145209;
}

.login-footer {
  text-align: center;
  padding: 1rem;
}

.brand-name {
  font-weight: 700;
  color: #1E6811;
}

/* Tablet Styles */
@media screen and (max-width: 1024px) {
  .login-container {
    padding: 2rem;
  }
  
  .brand-title {
    font-size: 2rem;
  }
  
  .login-form {
    padding: 2rem;
  }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .login-container {
    flex-direction: column;
    height: auto;
    padding: 1rem;
    gap: 2rem;
  }

  .login-brand, .login-content {
    width: 100%;
  }

  .login-brand {
    text-align: center;
    padding: 1rem;
  }

  .brand-logo {
    margin: 0 auto;
    max-width: 80%;
  }

  .brand-title {
    font-size: 1.5rem;
    margin-top: 1rem;
  }

  .brand-subtitle {
    font-size: 1rem;
  }

  .login-form {
    padding: 1.5rem;
    margin-bottom: 1rem;
    min-width: auto;
  }

  .login-title {
    font-size: 1.125rem;
  }

  .form-label {
    font-size: 1rem;
  }

  .form-input-group {
    padding: 0.625rem 1rem;
  }

  .login-button {
    padding: 0.625rem 1rem;
    font-size: 1.125rem;
  }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
  .login-container {
    padding: 0.5rem;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .login-form {
    padding: 1.25rem;
    gap: 1.5rem;
  }

  .form-input-group {
    padding: 0.5rem 0.75rem;
  }
}

/* Handle viewport height on mobile */
@media screen and (max-height: 700px) and (max-width: 768px) {
  .login-container {
    min-height: 100vh;
    height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* initial styles imported from tailwindcss */
*, ::after, ::before, ::backdrop, ::file-selector-button {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}
html, :host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
  font-feature-settings: var(--default-font-feature-settings, normal);
  font-variation-settings: var(--default-font-variation-settings, normal);
  -webkit-tap-highlight-color: transparent;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
}
b, strong {
  font-weight: bolder;
}
code, kbd, samp, pre {
  font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
  font-feature-settings: var(--default-mono-font-feature-settings, normal);
  font-variation-settings: var(--default-mono-font-variation-settings, normal);
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
:-moz-focusring {
  outline: auto;
}
progress {
  vertical-align: baseline;
}
summary {
  display: list-item;
}
ol, ul, menu {
  list-style: none;
}
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}
img, video {
  max-width: 100%;
  height: auto;
}
button, input, select, optgroup, textarea, ::file-selector-button {
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
  opacity: 1;
}
:where(select:is([multiple], [size])) optgroup {
  font-weight: bolder;
}
:where(select:is([multiple], [size])) optgroup option {
  padding-inline-start: 20px;
}
::file-selector-button {
  margin-inline-end: 4px;
}
::placeholder {
  opacity: 1;
}
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
  ::placeholder {
    color: currentcolor;
    @supports (color: color-mix(in lab, red, red)) {
      & {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
}
textarea {
  resize: vertical;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-date-and-time-value {
  min-height: 1lh;
  text-align: inherit;
}
::-webkit-datetime-edit {
  display: inline-flex;
}
::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
  padding-block: 0;
}
::-webkit-calendar-picker-indicator {
  line-height: 1;
}
:-moz-ui-invalid {
  box-shadow: none;
}
button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
  appearance: button;
}
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
  height: auto;
}
[hidden]:where(:not([hidden='until-found'])) {
  display: none!important;
}

