/* Profile Page Styles */
.profile-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Ensure back button is aligned to the left */
.profile-container .btn-secondary {
  display: inline-block;
  margin-bottom: 15px;
  text-align: left;
}

/* Clear any floats that might affect positioning */
.profile-container h1 {
  clear: both;
  margin-top: 0;
}

.profile-sections {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.profile-info, .profile-update {
  background-color: #333;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.profile-info h2, .profile-update h2 {
  margin-top: 0;
  color: #fff;
  padding-bottom: 10px;
}

.form-section {
  margin-bottom: 25px;
  padding: 15px;
  background: #333;
  border-radius: 6px;
  /* border: 1px solid #e9ecef; */
}

.form-section h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.1em;
}

.current-password-section {
  /* border: 2px solid #fff; */
  background: #333;
}

.form-section div {
  margin-bottom: 15px;
}

.form-section label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #fff;
}

.form-section input[type="email"],
.form-section input[type="password"] {
  width: 100%;
  padding: 10px;
  /* border: 1px solid #ced4da; */
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-section input[type="email"]:focus,
.form-section input[type="password"]:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-section small {
  display: block;
  margin-top: 5px;
  color: #6c757d;
  font-size: 0.875em;
}

.profile-actions {
  margin-top: 30px;
  text-align: center;
}

.profile-header {
  text-align: left;
  margin-bottom: 10px;
}

.profile-header .btn-secondary {
  display: inline-block;
}

/* Responsive design for profile page */
@media (max-width: 768px) {
  .profile-container {
    padding: 10px;
  }
  
  .profile-info, .profile-update {
    padding: 15px;
  }
}

/* Global Footer Styles */
.site-footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid #34495e;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-bottom {
  text-align: center;
  color: #95a5a6;
  font-size: 0.9em;
}
