@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --background-color: #ecf0f1;
  --button-hover: #2980b9;
  --divider-color: #bdc3c7;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

h1 {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 500;
}

.login-form {
  display: flex;
  flex-direction: column;
}

input[type="email"] {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: var(--button-hover);
}

button:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--divider-color);
}

.divider span {
  padding: 0 0.5rem;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #fff;
  border: 1px solid #ccc;
  color: var(--secondary-color);
  font-weight: 500;
}

.social-btn:hover {
  background-color: #f8f9fa;
}

.social-btn i {
  font-size: 1.2rem;
}

.apple { color: #000; }
.google { color: #4285F4; }
.microsoft { color: #00a4ef; }
.github { color: #24292e; }

.additional-links {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.additional-links a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 0.9rem;
}

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

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  input[type="email"],
  button {
    font-size: 0.9rem;
  }
}