/* Page-specific styles for my-profile.html */
.profile-wrap {
    min-height: 100vh;
    padding: 24px;
    padding-top: 100px;
    background: var(--paper);
  }
  .profile-content {
    max-width: 760px;
    margin: 0 auto;
  }
  .profile-title {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--ink);
    margin-bottom: 8px;
  }
  .profile-subtitle {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 32px;
  }
  .profile-card {
    background: var(--paper-soft);
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 20px 40px -22px rgba(34,19,36,0.12);
    margin-bottom: 24px;
  }
  .profile-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    gap: 16px;
  }
  .profile-field:last-child {
    border-bottom: none;
  }
  .profile-field__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-faint);
    flex-shrink: 0;
  }
  .profile-field__value {
    color: var(--ink);
    font-size: 15px;
    text-align: right;
  }
  .profile-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  .profile-edit-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pine);
    border: 1px solid var(--pine);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
  }
  .profile-edit-link:hover {
    background: var(--pine);
    color: var(--paper);
  }
  .profile-signout-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }
  .profile-signout-link:hover {
    background: var(--paper-deep);
    color: var(--ink);
  }
  .profile-delete-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #c0392b;
    border: 1px solid #c0392b;
    border-radius: 8px;
    background: var(--paper);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }
  .profile-delete-link:hover {
    background: #c0392b;
    color: white;
  }
  .profile-loading {
    text-align: center;
    padding: 48px 24px;
    color: var(--ink-faint);
  }
  .profile-error {
    text-align: center;
    padding: 48px 24px;
  }
  .profile-error__title {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 8px;
  }
  .profile-error__text {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 16px;
  }
  .profile-error__link {
    color: var(--pine);
    font-weight: 500;
  }
  .profile-back {
    display: inline-block;
    font-size: 13px;
    color: var(--ink-faint);
    margin-bottom: 16px;
  }
  .profile-back:hover {
    color: var(--ink);
  }

  /* Delete modal */
  .del-overlay { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); z-index:1000; align-items:center; justify-content:center; }
  .del-overlay.open { display:flex; }
  .del-modal { background:var(--paper); border-radius:16px; padding:32px; max-width:420px; width:90%; box-shadow:0 20px 40px rgba(0,0,0,0.2); }
  .del-modal h3 { font-family:var(--serif); margin:0 0 12px; color:var(--ink); }
  .del-modal p { font-size:14px; color:var(--ink-soft); margin:0 0 12px; }
  .del-modal input { width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:8px; font-size:14px; margin-bottom:8px; box-sizing:border-box; }
  .del-error { color:#c0392b; font-size:13px; min-height:18px; }
  .del-actions { display:flex; gap:12px; margin-top:16px; }
  .del-cancel { flex:1; padding:10px; border:1px solid var(--line); border-radius:8px; background:var(--paper); cursor:pointer; font-size:14px; }
  .del-confirm { flex:1; padding:10px; border:none; border-radius:8px; background:#c0392b; color:white; cursor:pointer; font-size:14px; }
  .del-confirm:disabled { opacity:0.4; cursor:not-allowed; }
