/* ===== EDIT PROFILE PAGE ===== */

.profile-main {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-body);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.profile-main h2 {
  color: var(--main-title-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.profile-card {
  background-color: #fff;
  color: var(--text-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .profile-card {
  background-color: #1e1e1e;
  color: var(--text-color);
}

.profile-card label {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.profile-card input,
.profile-card select,
.profile-card textarea {
  margin-top: 0.4rem;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fafafa;
  color: #333;
}

[data-theme="dark"] .profile-card input,
[data-theme="dark"] .profile-card select,
[data-theme="dark"] .profile-card textarea {
  background-color: #2a2a2a;
  color: #e4e4e4;
  border: 1px solid #444;
}

.profile-card select[multiple] {
  height: 120px;
  overflow-y: auto;
}

.profile-card small.hint {
  font-size: 0.85rem;
  color: #777;
  margin-top: -0.8rem;
  margin-bottom: 0.6rem;
}

[data-theme="dark"] .profile-card small.hint {
  color: #aaa;
}

.profile-card button {
  background-color: var(--main-title-color);
  color: white;
  padding: 0.75rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.profile-card button:hover {
  background-color: #004d40;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .profile-card {
    padding: 1.5rem;
  }

  .profile-main h2 {
    font-size: 1.6rem;
  }
}
