/* ==========================================
   AUTH MODAL & SCREENS (GOOGLE STYLE)
   ========================================== */
.auth-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(32, 33, 36, 0.6);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-backdrop.hidden {
  display: none;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.auth-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.auth-title {
  font-size: 24px;
  font-weight: 500;
  color: #202124;
  margin-top: 16px;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14px;
  color: #5f6368;
}

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

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-label {
  font-size: 13px;
  font-weight: 500;
  color: #3c4043;
}

.auth-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font-size: 15px;
  color: #202124;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.auth-error {
  background: #fce8e6;
  border: 1px solid #fad2cf;
  color: #c5221f;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  display: none;
}

.auth-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.auth-btn-secondary {
  background: transparent;
  border: none;
  color: #1a73e8;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
}

.auth-btn-secondary:hover {
  background: #f8fafd;
}

.auth-btn-primary {
  background: #1a73e8;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.auth-btn-primary:hover {
  background: #1765cc;
  box-shadow: 0 1px 3px rgba(60,64,67,.3);
}

/* USER PROFILE DROPDOWN MENU */
.profile-dropdown {
  position: absolute;
  top: 60px;
  right: 16px;
  background: white;
  border: 1px solid #dadce0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(60,64,67,.2);
  width: 280px;
  padding: 16px;
  z-index: 500;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-avatar-lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1a73e8;
  color: white;
  font-size: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.profile-name {
  font-size: 16px;
  font-weight: 500;
  color: #202124;
}

.profile-email {
  font-size: 13px;
  color: #5f6368;
  margin-bottom: 16px;
}

.profile-logout-btn {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid #dadce0;
  border-radius: 20px;
  background: white;
  color: #3c4043;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.profile-logout-btn:hover {
  background: #f1f3f4;
}
