.section{
  pad: 3rem 5rem !important;
  margin: 0 auto;
  text-align: left;
  background-color: #fff9ff;
}
.section-title {
  text-align: center;  
}
.section-title i {
  margin-right: 10px;
}

/* Profile Container - (Row Layout Structure) */
.profile-card.row-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  background: #fff;
  padding: 30px;
  padding-inline: 60px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  border: 2px solid #f8bbd0;
  transition: 0.3s;
}

/* Left Panel Styling */
.left-panel {
  align-items: center;
  gap: 15px;
  display: flex;
  flex-direction: column;
  flex: 0 0 30%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 30px 25px;
  text-align: center;
  width: 280px;
  transition: all 0.3s ease;
}
/* Profile Picture Container */
.left-panel .avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e91e8f;
  box-shadow: 0 4px 15px rgba(233, 30, 143, 0.2);
  flex-shrink: 0;
  color: #555;
  background: #fce4ec;
}
.left-panel .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* Keeps proportions while filling circle */
  border-radius: 50%;
  transition: transform 0.3s ease;
}
/* User profile slight zoom on hover */
.left-panel .avatar:hover img {
  transform: scale(1.05);
}
/* user name */
.left-panel .header-info h3{
  font-size: 25px;
  color: #333;
  margin: 0;
  margin-bottom: 5px;
}
.left-panel .header-info p {
  color: #777;
  font-size: 14px;
  margin-top: 4px;
}

.right-panel {
  flex: 1;
  padding-left: 20px;
}

/* ===== Profile Form ===== */
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-top: 6px;
  margin-bottom:3px;
}
.form-group input,
.form-group textarea {
  padding: 10px;
  resize: none;
  font-size: 14px;
  border-radius: 8px;
  border: 1.5px solid #ddd;
  outline: none;
  transition: 0.3s;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #e91e8f;
  box-shadow: 0 0 5px rgba(233, 30, 143, 0.2);
}
.form-group input[readonly],
.form-group textarea[readonly] {
  background: #f9f9f9;
  color: #666;
  cursor: not-allowed;
}

/* ===== Buttons ===== */
.btn-group {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.btn-group button {
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.edit-btn {
  color: #fff;
  background: #e91e8f;
}
.edit-btn:hover {
  background: #d01778;
}
.save-btn{ 
  color: #fff;
  background: #28a745;
}
.save-btn:hover {
  background: #43a047;
}
.edit-btn:disabled, .save-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* ===== Change Password Section ===== */
.change-password {
  margin-top: 25px;
  border: 1.5px solid #f8bbd0;
  border-radius: 12px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background: #fff;
  transition: all 0.4s ease;
}
/* Header (Collapsible Toggle) */
.password-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1.5px solid #f8bbd0;
  border-radius: 12px;
  background: linear-gradient(45deg, #fef5fa, #ffe5f2);
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.3s;
}
.password-header:hover {
  background: linear-gradient(45deg, #fde2f0, #fef5fa);
}
.password-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #e91e8f;
  display: flex;
  align-items: center;
  gap: 10px;
}
.password-header i.fa-chevron-down {
  color: #e91e8f;
  transition: transform 0.4s ease;
}
/* Rotating arrow when active */
.password-header.active i.fa-chevron-down {
  transform: rotate(180deg);
}
/* Collapsible content */
.password-form-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  padding: 0 20px;
}
.password-form-wrapper.active {
  max-height: 500px;
  opacity: 1;
  padding: 20px;
}
/* Inner form styling */
.password-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.password-form .form-group label {
  font-weight: 500;
  color: #444;
}
.password-form input {
  padding: 10px;
  border-radius: 8px;
  border: 1.5px solid #ddd;
  outline: none;
  transition: border-color 0.3s;
  font-size: 15px;
}
.password-form input:focus {
  border-color: #e91e8f;
  box-shadow: 0 0 5px rgba(233, 30, 143, 0.15);
}
/* Profile Menu Buttons */
.profile-menu {
  width: 100%;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.profile-menu a{
  text-decoration: none;
}
.menu-btn {
  width: 100%;
  background: #fdf4f8;
  color: #e91e8f;
  font-size: 15px;
  border-inline: none;
  border-block: 1px solid transparent;
  padding: 10px 15px;
  /* border-radius: 10px; */
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.menu-btn:hover,
.menu-btn.active {
  /* background: #e91e8f; */
  /* color: #fff; */
  border-color: #e91e8e49;
  box-shadow: 0 3px 10px rgba(233, 30, 143, 0.3);
}
.menu-btn.logout {
  background: #fff5f8;
  color: #c62828;
  border: 1px solid transparent;  
  transition: all 0.3s ease;

}
.menu-btn.logout:hover {
  background: #c62828;
  color: #fff;
  box-shadow: 0 3px 10px rgba(198, 40, 40, 0.3);
}
@media only screen and (max-width:950px){
 .profile-card.row-layout {
  flex-direction: column;
}   
.profile-header{
    width: 100%;
}
.profile-content{
    width: 100%;
}
}
@media only screen and (max-width:500px){
 .profile-card.row-layout {
 
  padding: 1rem;
  
}
}