.auth-errors {
  background: #ffe0e0;
  color: #b30000;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #f5c2c2;
  border-radius: 4px;
  font-size: 14px;
}
.edit-profile-wrapper {
  max-width: 500px;
  margin: 30px auto;
  background: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
}
.edit-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}
.edit-form input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
}
.edit-form button {
  margin-top: 20px;
  padding: 10px;
  width: 100%;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
}

















/* Dropdown Wrapper */
.dropdown {
  position: relative;
  display: inline-block;
  font-family: 'Segoe UI', sans-serif;
}

/* Username Button */
.dropdown-toggle {
  background-color: #007bff;
  color: white;
  padding: 10px 18px;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.dropdown-toggle:hover {
  background-color: #0056b3;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 180px;
  padding: 8px 0;
}

/* Menu Items */
.dropdown-menu a,
.dropdown-menu form button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 20px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-weight: 500;
}

/* Hover Effect */
.dropdown-menu a:hover,
.dropdown-menu form button:hover {
  background-color: #f4f4f4;
  color: #007bff;
}

/* Show Class */
.dropdown.show .dropdown-menu {
  display: block;
}









.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.auth-form label {
  font-weight: 500;
  margin-bottom: 2px;
  font-size: 14px;
}

.auth-form input {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  width: 100%;
  transition: border 0.2s ease;
}

.auth-form input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.auth-form button {
  margin-top: 10px;
  padding: 12px;
  background-color: #007bff;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.auth-form button:hover {
  background-color: #0056b3;
}

/* Error box */
.auth-errors {
  background: #ffeded;
  border-left: 5px solid #e53935;
  padding: 10px 15px;
  margin-top: 10px;
  border-radius: 5px;
  color: #c62828;
  font-size: 14px;
}

/* Social Buttons */
.social-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.google-btn,
.facebook-btn {
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-weight: 500;
  color: white;
  text-decoration: none;
}

.google-btn {
  background-color: #db4437;
}

.google-btn:hover {
  background-color: #c1351d;
}

.facebook-btn {
  background-color: #3b5998;
}

.facebook-btn:hover {
  background-color: #2d4373;
}

.auth-or {
  text-align: center;
  margin-top: 12px;
  font-weight: bold;
  color: #555;
}











.social-login a {
  display: block;
  text-align: center;
  margin: 5px 0;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
}

.google-btn {
  background-color: #DB4437;
  color: white;
}

.facebook-btn {
  background-color: #4267B2;
  color: white;
}
