:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --text: #1f2937;
  --muted: #6b7280;
  --radius: 14px;
}

* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

/* body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(159deg, #0054b4 0%, #40e0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
} */

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  background: linear-gradient(to bottom,white 0%,white 50%,#331FBE 50%,#826FDA 75%,white 100%
  );
}

/* .login-wrapper {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.25rem);
} */
.login-wrapper {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: 30px;
  border: 4px solid #1279BE;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
  /* box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px; */
  /* box-shadow: rgba(51, 31, 190, 0.12) 0px 2px 4px 0px, rgba(51, 31, 190, 0.32) 0px 2px 16px 0px; */
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  justify-content: center;
}

.logo img {
  width: clamp(140px, 40vw, 280px);
  max-width: 100%;
  height: auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.5vw, 0.9rem);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

label {
  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  color: var(--muted);
}

input {
  width: 100%;
  padding: clamp(0.65rem, 2.5vw, 0.8rem) clamp(0.75rem, 3vw, 0.9rem);
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: clamp(0.9rem, 3vw, 1rem);
  outline: none;
  color: var(--muted);
  transition: border 0.2s, box-shadow 0.2s;
}

select {
    width: 100%;
    padding: clamp(0.65rem, 2.5vw, 0.8rem) clamp(0.75rem, 3vw, 0.9rem);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: clamp(0.9rem, 3vw, 1rem);
    outline: none;
    color: var(--muted);
    transition: border 0.2s, box-shadow 0.2s;
}

input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  padding-right: 3rem;
}

.toggle {
  position: absolute;
  right: 0.75rem;
  font-size: 1.1rem;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
}

#hidePassword {
  display: none;
}

button {
  margin-top: 0.5rem;
  padding: clamp(0.7rem, 3vw, 0.85rem);
  border-radius: 12px;
  border: none;
  background: #009DE1;
  color: white;
  font-size: clamp(0.95rem, 3vw, 1.05rem);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}


.button {
    margin-top: 0.5rem;
    padding: clamp(0.7rem, 3vw, 0.85rem);
    border-radius: 12px;
    border: none;
    background: #009DE1;
    color: white;
    font-size: clamp(0.95rem, 3vw, 1.05rem);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-align: center
}

button:hover {
  background: var(--primary-dark);
}

button:active {
  transform: scale(0.97);
}

.footer {
  text-align: center;
  font-size: clamp(0.75rem, 2.5vw, 0.85rem);
  color: var(--muted);
}
