/* Profile Page Styles */

.profile-container {
  padding: 24px 20px 120px;
  min-height: calc(100vh - 90px);
  background: linear-gradient(180deg, #f4f2ea 0%, #e8eff9 100%);
}

.profile-card {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 20px 40px rgba(12, 33, 80, 0.12);
}

.profile-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.profile-title {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0.02em;
  color: #16315f;
}

.profile-subtitle {
  margin: 8px 0 0;
  color: #5d6483;
  font-size: 15px;
  line-height: 1.6;
}

.profile-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #1e3a8a;
  display: grid;
  place-items: center;
}

.profile-badge-icon {
  width: 28px;
  height: 28px;
}

.profile-avatar-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.profile-avatar {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #f7f1dd;
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.18);
  overflow: hidden;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 44px;
  color: #4b5e84;
}

.avatar-edit-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e3a8a;
  color: white;
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

.profile-fields {
  display: grid;
  gap: 16px;
}

.profile-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-field label {
  color: #445170;
  font-size: 14px;
  font-weight: 700;
}

.profile-field input,
.profile-field textarea {
  width: 100%;
  border: 1px solid rgba(64, 87, 138, 0.14);
  background: #faf6ea;
  border-radius: 20px;
  padding: 16px 18px;
  color: #1f304f;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-field textarea {
  min-height: 128px;
  resize: vertical;
}

.profile-field input:focus,
.profile-field textarea:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.08);
}

.profile-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.profile-save-btn {
  width: 100%;
  max-width: 340px;
  padding: 16px 24px;
  border: none;
  border-radius: 999px;
  background: #1e3a8a;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.profile-save-btn:hover {
  transform: translateY(-1px);
  background: #203c8f;
}

.profile-note {
  margin: 18px 0 0;
  color: #5b647f;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .profile-card {
    padding: 20px;
  }

  .profile-header-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
