body {
  font-family: Arial, sans-serif;
  background-color: #F8F5EB;
  margin: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

#premisubs-link {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 100;
  color: black;
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

#premisubs-link:hover {
  color: black;
}

.login-container {
  background: #fff;
  padding: 20px 30px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  font-size: 1rem;
}

input:focus {
  border-color: black;
  outline: none;
}

button {
  padding: 12px 20px;
  border: 2px solid black;
  border-radius: 25px;
  background-color: white;
  color: black;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  max-width: 300px;
  margin: 10px auto;
  display: block;
  font-size: 1rem;
}

button:hover {
  background-color: black;
  color: white;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button:disabled:hover {
  background-color: white;
  color: black;
}

.secondary-btn {
  border-color: #555;
  color: #555;
  font-size: 0.9rem;
}

.secondary-btn:hover {
  background-color: #555;
  color: white;
}

.check-btn {
  display: inline-block;
  padding: 4px 12px;
  margin: 0 0 0 6px;
  border: 1px solid green;
  border-radius: 15px;
  background: white;
  color: green;
  font-size: 13px;
  cursor: pointer;
  max-width: none;
}

.check-btn:hover {
  background: green;
  color: white;
}

#message {
  margin-top: 10px;
  min-height: 20px;
  font-size: 14px;
}

.signup {
  margin-top: 15px;
  text-align: center;
}

.signup p {
  font-size: 14px;
  color: #333;
}

.signup a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: text-decoration 0.3s ease;
}

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

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

.services-container p {
  font-size: 16px;
}

footer {
  text-align: center;
  font-size: 14px;
  color: #333;
  font-weight: 300;
  margin-top: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .main {
    margin-top: 30px;
  }

  .login-container {
    padding: 20px 25px;
    margin: 0 10px;
  }

  button {
    max-width: 100%;
    padding: 15px 20px;
  }

  input {
    padding: 14px;
    font-size: 1.1rem;
  }

  #premisubs-link {
    font-size: 1.5rem;
  }

  footer {
    font-size: 16px;
  }

  .signup a {
    font-size: 16px;
  }

  .services-container p {
    font-size: 18px;
  }

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