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

body {
  background-color: var(--porcelain);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.login-form {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--woodsmoke);
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: var(--elephant);
}

input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--iron);
  border-radius: 4px;
}

/* Password input container with toggle functionality */
.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-container input {
  padding-right: 45px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--elephant);
  transition: color 0.2s ease;
}

.password-toggle:hover {
  color: var(--eastern-blue);
}

.password-toggle:focus {
  outline: none;
  color: var(--eastern-blue);
}

.eye-icon,
.eye-off-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.login-button {
  width: 100%;
  background-color: var(--eastern-blue);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

.login-button:hover {
  background-color: #0e8690; /* Darker version of eastern-blue */
}

.error-message {
  color: #f44336; /* Keeping red for error messages */
  margin-top: 15px;
  text-align: center;
}

/* Social Login Styles */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

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

.divider span {
  padding: 0 10px;
  color: var(--elephant);
  font-size: 14px;
}

.social-login {
  margin-bottom: 20px;
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--iron);
  background-color: white;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.social-login-btn:hover {
  background-color: #f5f5f5;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.microsoft-btn {
  color: #000;
  border-color: #0078d4;
}

.microsoft-btn:hover {
  background-color: rgba(0, 120, 212, 0.04);
}

.google-btn {
  color: #000;
  border-color: #4285F4;
}

.google-btn:hover {
  background-color: rgba(66, 133, 244, 0.04);
}

.social-login-btn:focus {
  outline: none;
  border-color: var(--eastern-blue);
  box-shadow: 0 0 0 2px rgba(0, 164, 176, 0.3);
}

.social-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.logo-container {
  text-align: center;
  margin: -50px 0 -40px 0;
}

.login-logo {
  height: 260px;
  width: auto;
}

/* Dashboard styles */
.dashboard {
  max-width: 100%;
  height: 100vh;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--eastern-blue);
  color: white;
}

.navbar h1 {
  color: white;
  margin: 0;
}

.logout-button {
  color: white;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  border-radius: 4px;
}

.content {
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(var(--woodsmoke), 0.1);
  margin-top: 20px;
}

.content h2 {
  margin-bottom: 15px;
  color: var(--woodsmoke);
}

.register-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--elephant);
}

.register-link a {
  color: var(--eastern-blue);
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}