.profile-main { max-width: 900px; padding-top: 64px; }
.profile-main .page-title { margin-bottom: 32px; }
.profile-card {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
}
#profile-form { width: 100%; }
.profile-card .form-group { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.profile-card .form-group label { color: var(--text-muted); font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
.profile-card .form-control {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  background: #090d16;
  color: var(--text-main);
  font: inherit;
  line-height: 1.5;
}
.profile-card .form-control:focus { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
.profile-card textarea.form-control { min-height: 110px; resize: vertical; }
.avatar-upload-area {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin: 16px auto 0;
  overflow: hidden;
  border: 2px dashed rgba(0, 242, 254, .35);
  border-radius: 50%;
  background: rgba(0, 242, 254, .04);
  cursor: pointer;
}
.avatar-upload-area.dragover { border-color: var(--accent-cyan); background: rgba(0, 242, 254, .12); }
.avatar-upload-area input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.avatar-upload-area img { width: 100%; height: 100%; object-fit: cover; }
.upload-placeholder { display: grid; gap: 3px; color: var(--text-muted); font-size: .85rem; }
.upload-placeholder span { color: var(--accent-cyan); font-size: 2rem; line-height: 1; }
.profile-card .btn-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid rgba(0, 242, 254, .4);
  border-radius: 9px;
  background: rgba(0, 242, 254, .12);
  color: var(--text-main);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.profile-card .btn-submit:hover { background: rgba(0, 242, 254, .2); }
.profile-card .btn-submit:disabled { opacity: .6; cursor: wait; }
.profile-card .message-box { margin-bottom: 18px; padding: 14px 16px; border: 1px solid var(--card-border); border-radius: 10px; line-height: 1.6; }
.profile-card .message-box:empty { display: none; }
.profile-card .message-box.error { color: #fecaca; border-color: rgba(239, 68, 68, .4); }
.profile-card .message-box.success { color: #a7f3d0; border-color: rgba(16, 185, 129, .4); }
@media (max-width: 480px) {
  .profile-main { padding-top: 40px; }
  .profile-card .btn-submit { width: 100%; }
}
