* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html, body {
  height: 100%;
}

body {
  background: #ffffff;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  margin: 0;
  position: relative;

  overflow-x: hidden;
  overflow-y: auto; /* bitno */
}

.page-center {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Background shapes */
.bg-shape {
  position: fixed;
  background: #e6eef5;
  border-radius: 50%;
  z-index: -1;
}

/* Gornji desni oblik */
.bg-shape.top {
  width: 600px;
  height: 250px;
  top: -120px;
  right: -150px;
}

/* Donji levi oblik */
.bg-shape.bottom {
  width: 600px;
  height: 250px;
  bottom: -140px;
  left: -150px;
}

/* Container */
.login-container {
  width: 100%;
  max-width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
}

/* Card */
.card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  text-align: center;
  width: 100%;
  max-width: 420px;

}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.logo-img {
  width: 200px;
  height: auto;
  object-fit: contain;
}


/* Text */
h1 {
  font-size: 24px;
  margin-bottom: 5px;
}

.subtitle {
  font-size: 12px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
  margin-top: 20px;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

label {
  font-size: 14px;
  margin-bottom: 6px;
  margin-top: 10px;
}

input {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
  margin-bottom: 10px;
  transition: 0.2s;
}

input:focus {
  outline: none;
  border-color: #1f5f9c;
}

/* Link */
.forgot {
  font-size: 12px;
  color: #1f5f9c;
  text-align: right;
  margin-bottom: 20px;
  text-decoration: none;
}

/* Button */
button {
  background: #1f73a8;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #165a87;
}

@media (max-width: 700px) {
  body {
    align-items: stretch;
    padding: 0;
    background: #ffffff;
  }
  .page-center {
    min-height: 100vh;
    padding: 12px 16px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .login-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .card {
    width: 100%;
    max-width: 92%;
    padding: 28px 22px;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }
  .logo-img {
    width: 140px;
    margin-bottom: 16px;
  }
  h1 {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .subtitle {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  label {
    font-size: 14px;
    margin-bottom: 5px;
  }
  input {
    font-size: 16px;
    padding: 12px 14px;
    border-radius: 10px;
  }
  .forgot {
    font-size: 13px;
    margin-top: 6px;
    margin-bottom: 18px;
  }
  button {
    font-size: 16px;
    padding: 14px;
    border-radius: 12px;
  }
}

/* Mali telefoni */
@media (max-width: 400px) {
  .card {
    padding: 32px 18px;
    max-width: 95%;
    padding: 24px 18px;
  }

  h1 {
    font-size: 22px;
  }

  input, button {
    font-size: 16px;
    font-size: 15px;
  }
  .logo-img {
    width: 120px;
  }
}



