/* Resetting and basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fafafa;
  color: #333;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar styling */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 50px;
  border-bottom: 2px solid #eaeaea;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.navbar p {
  font-size: 15px;
  font-weight: 500;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.custom-btn {
  display: inline-flex;
  align-items: center;
  background-color: #1a1a1a;
  color: #e5e5e5;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.custom-btn:hover {
  background-color: #333;
}

.custom-btn img {
  margin-right: 8px;
}

/* Login form styling */
.container {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 100px; /* Ensures space from the fixed navbar */
}

.login-container {
  width: 100%;
  max-width: 380px;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.login-container h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.login-container form {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.login-container label {
  text-align: left;
  margin-bottom: 5px;
  font-weight: 500;
  color: #1a1a1a;
}

.login-container input {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.login-container input:focus {
  outline: none;
  border-color: #1a1a1a;
}

.login-container button {
  padding: 10px;
  background-color: #1a1a1a;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.login-container button:hover {
  background-color: #333;
}

/* OR Divider */
.or-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0;
}

.or-divider span {
  background-color: #fff;
  padding: 0 10px;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #ccc;
}

/* Social login buttons - Google and GitHub */
.social-login {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.social-login .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48%;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-login .social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.google-btn {
  background-color: #fff;
  border: 1px solid #ccc;
}

.github-btn {
  background-color: #333;
  color: white;
}

.social-login img {
  margin-right: 10px;
}

.signup-text {
  margin-top: 20px;
  font-size: 14px;
}

.signup-text a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: bold;
}

.signup-text a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    padding: 10px 30px;
  }

  .login-container {
    width: 90%;
  }

  .social-login {
    flex-direction: column;
    gap: 10px;
  }

  .social-login .social-btn {
    width: 100%;
  }
}

/* Footer styling */
.footer {
  background-color: #fafafa;
  color: #151515;
  text-align: center;
  padding: 10px;
  margin-top: 10px;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer p {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.footer a {
  color: #1a1919;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #0b0b0b;
  text-decoration: underline;
}
