.profile-wrapper {
  display: flex;
  gap: 30px;
  margin-top: 25px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Profile Card */
.profile-card {
  flex: 1;
  min-width: 260px;
  max-width: 300px;
  background: linear-gradient(145deg, #ffffff, #f7faff);
  border: 1px solid #e3e9f2;
  border-radius: 16px;
  text-align: center;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

.profile-avatar {
  font-size: 90px;
  color: #007bff;
  margin-bottom: 18px;
}

.profile-card h4 {
  margin: 8px 0 4px;
  font-size: 21px;
  color: #222;
  font-weight: 600;
}

.profile-card .role {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  margin-bottom: 4px;
}

.profile-card .email {
  font-size: 13px;
  color: #777;
  margin-bottom: 18px;
}

.profile-card .btn.edit-profile {
  background: #007bff;
  color: #fff;
  padding: 9px 18px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,123,255,0.3);
  transition: all 0.3s ease;
}

.profile-card .btn.edit-profile:hover {
  background: #0056b3;
  box-shadow: 0 5px 12px rgba(0,123,255,0.4);
}

/* Profile Form */
.profile-form {
  flex: 2;
  min-width: 320px;
  background: #fff;
  border: 1px solid #e3e9f2;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.profile-form h4 {
  margin-bottom: 18px;
  color: #222;
  font-size: 18px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #d4dbe5;
  font-size: 14px;
  background: #fafbfc;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
  outline: none;
}

.profile-form .btn.save {
  background: #28a745;
  color: #fff;
  padding: 11px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 3px 8px rgba(40,167,69,0.3);
  transition: all 0.3s ease;
}

.profile-form .btn.save:hover {
  background: #1e7e34;
  box-shadow: 0 5px 14px rgba(40,167,69,0.4);
}
