@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
  --line-green: #06c755;
  --text-dark: #272727;
  --bg-light: #ffffff;
  --input-border: rgba(0, 0, 0, 0.2);
}

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

a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--bg-light);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--line-green);
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.login-btn {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-btn:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Centered Content */
.login-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

h2 {
  margin-bottom: 15px;
}

form {
  width: 280px;
}

.input-field {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid var(--input-border);
  border-radius: 5px;
  font-size: 15px;
  background: #ffffff;
  color: black;
}

.input-field:focus {
  border-color: var(--line-green);
  outline: none;
}

.input-field::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.login-btn-main {
  width: 100%;
  padding: 10px;
  background: var(--line-green);
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
  transition: 0.3s;
}

.login-btn-main:hover {
  background: #04a843;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.1);
  padding: 10px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.footer-links a {
  color: var(--text-dark);
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
}

.footer-links a:hover {
  color: #666;
}

/* Mobile Optimization */
@media (max-width: 600px) {
  header {
    font-size: 16px;
  }

  .login-container {
    margin-top: 30px;
  }

  form {
    width: 90%;
  }
}