/* =========================================================
   PCR — PROFILE DESKTOP
   لا يلمس نسخة الهاتف
========================================================= */

@media screen and (min-width: 901px) {

  .profile-page {
    width: min(94%, 1050px);
    max-width: 1050px;
    margin: 30px auto 80px;
  }

  .profile-card {
    width: 100%;
    padding: 38px 42px;
  }

  .profile-top {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: center;
    gap: 38px;

    width: 100%;
    min-height: 180px;

    padding-bottom: 30px;
    margin-bottom: 30px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .profile-photo-area {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    align-items: center;
    gap: 20px;

    width: 100%;
    min-width: 0;
  }

  .profile-photo-wrapper {
    width: 140px;
    height: 140px;
    min-width: 140px;

    margin: 0;
  }

  .profile-photo,
  .profile-initial {
    width: 140px;
    height: 140px;
  }

  .profile-initial {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 62px;
  }

  .photo-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;

    width: 100%;
    min-width: 0;
  }

  .photo-upload-btn,
  .delete-photo-btn {
    width: 100%;
    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 12px;

    font-size: 14px;
    line-height: 1.2;
    text-align: center;

    white-space: normal;
  }

  .profile-identity {
    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .profile-identity h1 {
    width: 100%;
    margin: 0 0 10px;

    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -1px;

    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .profile-identity p {
    width: 100%;
    margin: 3px 0;

    font-size: 17px;
    line-height: 1.4;

    white-space: normal;
  }

  .profile-email {
    overflow-wrap: anywhere;
  }

  .profile-form {
    width: 100%;
  }

  .form-group {
    width: 100%;
  }

  .profile-form input,
  .profile-form textarea {
    width: 100%;
    max-width: 100%;
  }

  .profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .profile-stats {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;

    margin-top: 22px;
  }
}