/* Profile page styles */

body {
  font-family: 'Roboto', sans-serif;
  text-align: center;
  background-color: #f9fafb;
  color: #1f2937;
  margin: 0;
  padding: 0;
}


h1.text-4xl {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

section[aria-label="Update profile"] {
  max-width: 768px;
  margin: 0 auto;
  background-color: #111827;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  color: white;
}

section[aria-label="Update profile"] .avatar-container {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-img-large {
  width: 160px;
  height: 160px;
  border-radius: 9999px;
  border: 4px solid #dc2626;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
  object-fit: cover;
}

input[type="file"] {
  display: block;
  font-size: 0.875rem;
  color: #d1d5db;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

p.text-center {
  font-size: 0.875rem;
  color: #9ca3af;
  max-width: 280px;
}

form#updateProfileForm {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

form#updateProfileForm h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

form#updateProfileForm label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

form#updateProfileForm input[type="text"],
form#updateProfileForm input[type="email"],
form#updateProfileForm input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid #374151;
  background-color: #1f2937;
  color: white;
  outline: none;
  transition: border-color 0.3s ease;
}

form#updateProfileForm input[type="text"]:focus,
form#updateProfileForm input[type="email"]:focus,
form#updateProfileForm input[type="password"]:focus {
  border-color: #dc2626;
}

form#updateProfileForm button[type="submit"] {
  width: 100%;
  background-color: #dc2626;
  color: white;
  padding: 0.75rem;
  border-radius: 0.375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
}

form#updateProfileForm button[type="submit"]:hover {
  background-color: #b91c1c;
}

footer.bg-red-700 {
  background-color: #b91c1c;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

footer p.text-sm {
  font-size: 0.875rem;
  margin: 0;
}

/* New styles for buttons in one line */
.button-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.button-row button {
  flex-grow: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
}
