* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Glavni kontejner */
.main-container {
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  background-color: #ffffff;
}

@media (min-width: 1024px) {
  .main-container {
    min-height: auto;
    height: 100vh;
  }
}

/* Wrapper sa flexa */
.content-wrapper {
  z-index: 10;
  display: flex;
  height: 100%;
  gap: 2rem;
}

/* Leva strana - slika */
.left-side {
  display: none;
}

@media (min-width: 1024px) {
  .left-side {
    display: block;
    flex: 1;
  }
}

.left-side img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: left;
}

/* Desna strana - forma */
.right-side {
  display: flex;
  height: 100%;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .right-side {
    padding-top: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .right-side {
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 3rem;
  }
}

/* Mali logo (mobilni) */
.small-logo {
  display: block;
  height: fit-content;
  width: 160px;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .small-logo {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .small-logo {
    margin-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .small-logo {
    display: none;
    margin-bottom: 8rem;
  }
}

.small-logo img {
  width: 100%;
  object-fit: contain;
}

/* Veliki logo (desktop) */
.large-logo {
  display: none;
  height: 108px;
  width: 460px;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .large-logo {
    display: block;
  }
}

.large-logo img {
  height: 100%;
  width: 100%;
}

/* Forma */
.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 640px) {
  .login-form {
    gap: 2rem;
  }
}

/* Grid sa inputima */
.input-grid {
  display: grid;
  gap: 1.2rem;
}

/* Input wrapper */
.input-wrapper {
  display: flex;
  height: 40px;
  width: 260px;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  padding: 0.5rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

/* Input polje */
.input-field {
  height: 100%;
  width: 100%;
  border: none;
  background-color: transparent;
  outline: none;
}

.input-field::placeholder {
  opacity: 1;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.input-field:focus::placeholder {
  opacity: 0;
}

/* Error poruka */
.error-message {
  color: #ef4444;
  font-weight: 600;
  margin-top: 0.5rem;
  display: block;
}

/* Error poruka (crvena) */
.error-text-red {
  margin-top: 1rem;
  color: #ef5350;
  font-weight: 600;
}

/* Link - zaboravljena lozinka */
.forgot-password-link {
  font-size: 1rem;
  margin-top: 0.75rem;
  display: block;
  color: #33538999;
}

/* Button container */
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Submit button */
.submit-button {
  height: 48px;
  width: 290px;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #335389;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  cursor: pointer;
  border: none;
}

.submit-button:hover {
  opacity: 0.9;
}

/* Register section */
.register-section {
  font-weight: 700;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.register-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #33538999;
}

.register-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: #335389;
  text-decoration: none;
}

.register-link:hover {
  text-decoration: underline;
}

.offer-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 290px;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #335389;
  background-color: #ffffff;
  border: 2px solid #335389;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  text-align: center;
}

.offer-button:hover {
  opacity: 0.9;
}