/* ============================================
   RESET
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ============================================
   BODY
============================================ */
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1f3c, #2a2f55);
  padding: 20px;
}

/* ============================================
   BACKGROUND CIRCLES
============================================ */
.circle {
  position: fixed;
  border-radius: 50%;
  background: rgba(37, 50, 121, 0.5);
  animation: float 6s infinite ease-in-out;
  z-index: 0;
}

.circle:nth-child(1) {
  width: 250px;
  height: 250px;
  top: -60px;
  left: -60px;
}

.circle:nth-child(2) {
  width: 220px;
  height: 220px;
  bottom: -50px;
  right: -50px;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-25px); }
}

/* ============================================
   LOGIN CARD
============================================ */
.login-container {
  width: 100%;
  max-width: 400px;
  background: white;
  padding: 40px 45px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  z-index: 2;
  text-align: center;
  position: relative;
}

/* ============================================
   LOGO BOX
============================================ */
.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.logo {
  background: linear-gradient(135deg, #007BFF, #00C0A3);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.logo-box span {
  font-size: 20px;
  font-weight: 700;
  color: #1C3F60;
}

/* ============================================
   TITLE & SUBTITLE
============================================ */
.title {
  color: #0077ff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}

.subtitle {
  color: #6B7280;
  font-size: 13px;
  margin-bottom: 24px;
}

/* ============================================
   INPUT GROUPS
============================================ */
.input-group {
  text-align: left;
  margin-bottom: 15px;
}

.input-group label {
  font-size: 13px;
  color: #555;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}

.input-group input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  transition: border 0.3s;
  outline: none;
}

.input-group input:focus {
  border-color: #0077ff;
  box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.1);
}

/* ============================================
   ERROR MESSAGE
============================================ */
.error-msg {
  background: #fff0f0;
  color: #cc0000;
  border: 1px solid #ffcccc;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  text-align: left;
  margin-bottom: 14px;
}

/* ============================================
   BUTTON
============================================ */
.btn {
  width: 100%;
  padding: 12px;
  background: #0077ff;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: background 0.3s;
  margin-top: 4px;
}

.btn:hover {
  background: #005fcc;
}

/* ============================================
   LINKS
============================================ */
.links {
  margin-top: 20px;
}

.links p {
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

.links a {
  color: #0077ff;
  text-decoration: none;
  font-weight: 500;
}

.links a:hover {
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE — TABLET 768px
============================================ */
@media (max-width: 768px) {
  .login-container {
    padding: 35px 30px;
    max-width: 380px;
  }

  .title {
    font-size: 22px;
  }

  .circle:nth-child(1) {
    width: 180px;
    height: 180px;
  }

  .circle:nth-child(2) {
    width: 160px;
    height: 160px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE 480px
============================================ */
@media (max-width: 480px) {
  body {
    padding: 16px;
    align-items: flex-start;
    padding-top: 30px;
  }

  .login-container {
    padding: 28px 20px;
    border-radius: 10px;
    max-width: 100%;
  }

  .title {
    font-size: 20px;
  }

  .subtitle {
    font-size: 12px;
  }

  .input-group input {
    font-size: 14px;
    padding: 10px;
  }

  .btn {
    font-size: 14px;
    padding: 11px;
  }

  .links p {
    font-size: 12px;
  }

  .circle {
    display: none;
  }
}