:root {
  --primary-color: #00703C;
  --primary-hover: #54b666;
  --bg-color: #f4f7f6;
  --card-bg: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #dddddd;
  --radius: 8px;
}

/* Reset */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

/* Center whole page */
main.page-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;   /* full screen height */
  padding: 2rem;
  width: 100%;
}

/* Card */
.card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

/* Title */
h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #111827;
  text-align: left;
}

p.lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
  text-align: left;
}

/* Form */
.form-group {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}


/* Button */
.facebook {
  width: 100%;
  padding: 0.75rem;
  background-color: #1877F2;
  color: white;
  border: 2px solid #1877F2;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.8rem;
}

.facebook:hover {
  background-color: #5d9beb;
  border-color: #5d9beb;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.4s;
}

.google-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: white;
  color: black;
  border: 2px solid #D3D3D3;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.8rem;

}

.google-btn:hover {
  background-color: #e4f0fa;
  border-color: #c4e8f2;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.4s;
  
}

.apple-btn {
  width: 100%;
  padding: 0.75rem;
  background: black;
  background-color: rgb(0, 0, 0);
  color: white;
  border: 2px solid #000000;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.8rem;
  transition: background-color 0.2s;
}

.apple-btn:hover {
  background-color: #333333;
  border-color: #333333;
  box-shadow:  rgba(0,0,0,0.25);
  transition: background-color 0.4s;
}


.icon {
  width: 20px;
  height: 20px;
  display:left;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.divider span {
  margin: 0 10px;
  color: #777;
  font-weight: 600;
}

.btn-container .Login {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.8rem;
}

.btn-container .Login:hover {
  width: 100%;
  background-color: var(--primary-hover);
  color: white;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.4s;
}

.btn-container .SignIn {
   width: 100%;
  padding: 0.75rem;
  background-color: #d9eee4;
  color: black;
  border: 1px solid #000000;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.8rem;
}

.btn-container .SignIn:hover {
   width: 100%;
  border: 1px solid rgba(0,0,0,0.2);
  background-color: #b2d7c5;
  color: black;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.4s;
}

.btn-container {
  display: flex;
  justify-content: center;
  gap: 25px;
}
/* Register link */
.utility {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.utility a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.utility a:hover {
  color: var(--primary-hover);
}

/* Mobile */
@media (max-width: 480px) {
  .card {
    padding: 1.5rem;
    box-shadow: none;
  }

  .actions {
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
  }

  #forgot {
    align-self: flex-end;
  }
}
