:root {
  --myp-bg: #fff8fa;
  --myp-card: #ffffff;
  --myp-soft: #fff1f5;
  --myp-primary: #d72f67;
  --myp-primary-dark: #b41f52;
  --myp-secondary: #8b5cf6;
  --myp-text: #26121a;
  --myp-muted: #755b64;
  --myp-border: #f1cbd8;
  --myp-danger: #b42318;
  --myp-danger-bg: #fff0ee;
  --myp-shadow: 0 18px 50px rgba(122, 35, 67, 0.11);
  --myp-radius-xl: 28px;
  --myp-radius-lg: 20px;
  --myp-radius-md: 14px;
  --myp-container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Tajawal", Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255, 210, 225, 0.5), transparent 34%),
    radial-gradient(circle at bottom left, rgba(219, 205, 255, 0.45), transparent 30%),
    var(--myp-bg);
  color: var(--myp-text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.myp-container {
  width: min(calc(100% - 32px), var(--myp-container));
  margin-inline: auto;
}

/* Loading */

.myp-loading {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 248, 250, 0.97);
}

.myp-loading-card {
  width: min(100%, 360px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--myp-border);
  border-radius: var(--myp-radius-lg);
  background: var(--myp-card);
  box-shadow: var(--myp-shadow);
}

.myp-spinner {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 4px solid #f6ccd9;
  border-top-color: var(--myp-primary);
  border-radius: 50%;
  animation: mypSpin 0.8s linear infinite;
}

@keyframes mypSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Header */

.myp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(215, 47, 103, 0.12);
  background: rgba(255, 248, 250, 0.93);
  backdrop-filter: blur(14px);
}

.myp-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.myp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.myp-brand-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffe0ea, #efe7ff);
  font-size: 24px;
}

.myp-brand > span:last-child {
  display: grid;
  gap: 2px;
}

.myp-brand strong {
  font-size: 20px;
  font-weight: 900;
}

.myp-brand small {
  color: var(--myp-muted);
  font-size: 13px;
  font-weight: 700;
}

.myp-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */

.myp-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.myp-btn:hover {
  transform: translateY(-2px);
}

.myp-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.myp-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--myp-primary), #e7467d);
  box-shadow: 0 10px 24px rgba(215, 47, 103, 0.23);
}

.myp-btn-secondary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--myp-secondary), #a276ff);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.2);
}

.myp-btn-light {
  color: var(--myp-text);
  border-color: var(--myp-border);
  background: #ffffff;
}

.myp-btn-danger {
  color: var(--myp-danger);
  border-color: #ffd1ca;
  background: var(--myp-danger-bg);
}

/* Main */

.myp-main {
  padding: 30px 0 70px;
}

.myp-preview-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid #d9cffb;
  border-radius: var(--myp-radius-lg);
  background: linear-gradient(135deg, #f6f1ff, #fff7fa);
}

.myp-preview-note > span {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #ece5ff;
  font-size: 23px;
}

.myp-preview-note strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 900;
}

.myp-preview-note p {
  margin: 0;
  color: var(--myp-muted);
  line-height: 1.8;
}

.myp-hero-card {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 34px;
  padding: 28px;
  border: 1px solid var(--myp-border);
  border-radius: var(--myp-radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 241, 245, 0.88));
  box-shadow: var(--myp-shadow);
}

.myp-photo-wrap {
  position: relative;
}

.myp-photo {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 5px solid #ffffff;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffe3ec, #eee6ff);
  box-shadow: 0 16px 34px rgba(113, 39, 69, 0.14);
}

.myp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.myp-photo > span {
  font-size: 90px;
  opacity: 0.75;
}

.myp-vip-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(72, 35, 86, 0.88);
  backdrop-filter: blur(9px);
  font-size: 13px;
  font-weight: 900;
}

.myp-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.myp-status {
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #8d1743;
  background: #ffe6ef;
  font-size: 13px;
  font-weight: 900;
}

.myp-hero-content h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 900;
}

.myp-location {
  margin: 12px 0 22px;
  color: var(--myp-muted);
  font-size: 18px;
  font-weight: 700;
}

.myp-main-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.myp-main-facts > div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--myp-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.myp-main-facts span {
  color: var(--myp-muted);
  font-size: 13px;
  font-weight: 700;
}

.myp-main-facts strong {
  font-size: 17px;
  font-weight: 900;
}

.myp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.myp-content {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.myp-section {
  padding: 26px;
  border: 1px solid var(--myp-border);
  border-radius: var(--myp-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(111, 38, 66, 0.07);
}

.myp-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.myp-section-head > span {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--myp-soft);
  font-size: 23px;
}

.myp-section-head h2 {
  margin: 0 0 5px;
  font-size: 23px;
  font-weight: 900;
}

.myp-section-head p {
  margin: 0;
  color: var(--myp-muted);
  line-height: 1.7;
}

.myp-long-text {
  margin: 0;
  padding: 18px;
  border-right: 4px solid var(--myp-primary);
  border-radius: 12px;
  color: #402630;
  background: #fff8fa;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.95;
  white-space: pre-line;
}

.myp-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.myp-detail-item {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 15px;
  border: 1px solid #f3d6df;
  border-radius: var(--myp-radius-md);
  background: #fffafb;
}

.myp-detail-item span {
  color: var(--myp-muted);
  font-size: 13px;
  font-weight: 700;
}

.myp-detail-item strong {
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 900;
}

.myp-detail-item.myp-detail-wide {
  grid-column: 1 / -1;
}

/* Error */

.myp-error {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.myp-error-card {
  width: min(100%, 500px);
  padding: 36px;
  border: 1px solid var(--myp-border);
  border-radius: var(--myp-radius-xl);
  text-align: center;
  background: #ffffff;
  box-shadow: var(--myp-shadow);
}

.myp-error-card > span {
  display: block;
  margin-bottom: 12px;
  font-size: 56px;
}

.myp-error-card h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 900;
}

.myp-error-card p {
  margin: 0 0 22px;
  color: var(--myp-muted);
  line-height: 1.8;
}

/* Footer */

.myp-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(215, 47, 103, 0.12);
  text-align: center;
  background: rgba(255, 242, 246, 0.72);
}

.myp-footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 900;
}

.myp-footer p {
  margin: 0 0 9px;
  color: var(--myp-muted);
  line-height: 1.8;
}

.myp-footer small {
  color: #927780;
  font-weight: 700;
}

/* Tablet */

@media (max-width: 950px) {
  .myp-hero-card {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

  .myp-main-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .myp-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */

@media (max-width: 720px) {
  .myp-container {
    width: min(calc(100% - 22px), var(--myp-container));
  }

  .myp-header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .myp-header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .myp-header-actions .myp-btn {
    flex: 1;
    padding-inline: 10px;
    font-size: 14px;
  }

  .myp-main {
    padding-top: 20px;
  }

  .myp-preview-note {
    flex-direction: column;
  }

  .myp-hero-card {
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 22px;
  }

  .myp-photo {
    max-height: 440px;
  }

  .myp-hero-content h1 {
    font-size: 34px;
  }

  .myp-main-facts {
    grid-template-columns: 1fr 1fr;
  }

  .myp-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .myp-actions .myp-btn {
    width: 100%;
  }

  .myp-section {
    padding: 19px;
  }

  .myp-details-grid {
    grid-template-columns: 1fr;
  }

  .myp-detail-item.myp-detail-wide {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .myp-brand-icon {
    width: 42px;
    height: 42px;
  }

  .myp-brand strong {
    font-size: 18px;
  }

  .myp-header-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .myp-main-facts {
    grid-template-columns: 1fr;
  }

  .myp-photo > span {
    font-size: 70px;
  }

  .myp-section-head h2 {
    font-size: 20px;
  }
}
/* =========================================================
   ZAWAJ VIP — MY PROFILE NEW PLATFORM COLORS
   توحيد صفحة ملفي مع الهوية الجديدة
   ========================================================= */

:root {
  --myp-bg: #fdf0f6;
  --myp-card: #ffedf4;
  --myp-soft: #eee8ff;

  --myp-primary: #c62e68;
  --myp-primary-dark: #951f4f;
  --myp-secondary: #755bd0;

  --myp-text: #432535;
  --myp-muted: #725b68;

  --myp-border: rgba(161, 67, 115, 0.20);

  --myp-danger: #b72e4a;
  --myp-danger-bg: #ffe2e8;

  --myp-shadow:
    0 22px 55px rgba(101, 45, 78, 0.13);
}

/* خلفية الصفحة */

body {
  background:
    radial-gradient(
      circle at 92% 7%,
      rgba(234, 91, 151, 0.19),
      transparent 31%
    ),
    radial-gradient(
      circle at 8% 47%,
      rgba(127, 96, 218, 0.16),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #ffeaf3 0%,
      #f1ebff 52%,
      #e1f7f3 100%
    ) !important;
}

/* التحميل */

.myp-loading {
  background:
    linear-gradient(
      145deg,
      rgba(255, 234, 243, 0.96),
      rgba(240, 234, 255, 0.96),
      rgba(224, 247, 243, 0.96)
    ) !important;
}

.myp-loading-card {
  border: 2px solid var(--myp-border) !important;

  background:
    linear-gradient(
      135deg,
      #ffe6f0,
      #eee8ff,
      #ddf6f1
    ) !important;
}

/* الهيدر */

.myp-header {
  border-bottom:
    2px solid rgba(159, 31, 80, 0.14) !important;

  background:
    linear-gradient(
      90deg,
      rgba(255, 222, 235, 0.96),
      rgba(237, 230, 255, 0.96),
      rgba(218, 246, 241, 0.96)
    ) !important;
}

.myp-brand-icon {
  border: 2px solid rgba(150, 65, 113, 0.15) !important;

  background:
    linear-gradient(
      135deg,
      #ffdce9,
      #e8e1ff,
      #dff5f1
    ) !important;
}

.myp-brand strong {
  color: #8f214d !important;
}

.myp-brand small {
  color: #705866 !important;
}

/* الأزرار */

.myp-btn-primary {
  color: #ffffff !important;

  background:
    linear-gradient(
      135deg,
      #9f2456,
      #dc3e79,
      #765bd0
    ) !important;

  box-shadow:
    0 12px 27px rgba(174, 43, 99, 0.23) !important;
}

.myp-btn-secondary {
  color: #ffffff !important;

  background:
    linear-gradient(
      135deg,
      #6648bd,
      #856bd8,
      #2d9c8e
    ) !important;
}

.myp-btn-light {
  color: #573247 !important;

  border: 2px solid rgba(146, 59, 107, 0.17) !important;

  background:
    linear-gradient(
      135deg,
      #ffeef4,
      #eeeaff
    ) !important;
}

.myp-btn-danger {
  color: #a42a43 !important;

  border: 2px solid rgba(190, 54, 81, 0.18) !important;

  background:
    linear-gradient(
      135deg,
      #ffe4e9,
      #fff0f2
    ) !important;
}

/* الملاحظة العلوية */

.myp-preview-note {
  border: 2px solid rgba(115, 86, 202, 0.18) !important;

  background:
    linear-gradient(
      135deg,
      #eee8ff,
      #ffe8f1,
      #dff7f2
    ) !important;
}

.myp-preview-note > span {
  background:
    linear-gradient(
      135deg,
      #e3daff,
      #ffdbe8
    ) !important;
}

/* بطاقة الملف الرئيسية */

.myp-hero-card {
  border: 2px solid var(--myp-border) !important;

  background:
    linear-gradient(
      145deg,
      rgba(255, 232, 241, 0.97),
      rgba(240, 234, 255, 0.97),
      rgba(225, 248, 244, 0.97)
    ) !important;
}

.myp-photo {
  border-color: rgba(255, 255, 255, 0.92) !important;

  background:
    linear-gradient(
      135deg,
      #ffd6e6,
      #e5ddff,
      #d9f4ee
    ) !important;
}

.myp-vip-badge {
  color: #754d00 !important;

  border-color: rgba(255, 255, 255, 0.90) !important;

  background:
    linear-gradient(
      135deg,
      rgba(255, 239, 178, 0.95),
      rgba(255, 216, 135, 0.95)
    ) !important;
}

.myp-status {
  color: #6b3c98 !important;

  border: 2px solid rgba(112, 84, 198, 0.19) !important;

  background:
    linear-gradient(
      135deg,
      #eae3ff,
      #e2f7f3
    ) !important;
}

.myp-hero-content h1 {
  color: #8f214d !important;
}

/* الإحصائيات داخل البطاقة */

.myp-main-facts > div {
  border: 2px solid rgba(153, 64, 112, 0.15) !important;

  background:
    linear-gradient(
      135deg,
      #ffeef4,
      #f0ebff,
      #e7f8f5
    ) !important;
}

/* أقسام الملف */

.myp-section {
  border: 2px solid var(--myp-border) !important;

  background:
    linear-gradient(
      145deg,
      rgba(255, 235, 243, 0.95),
      rgba(239, 234, 255, 0.95),
      rgba(226, 248, 244, 0.95)
    ) !important;

  box-shadow:
    0 15px 36px rgba(93, 42, 70, 0.10) !important;
}

.myp-section-head > span {
  background:
    linear-gradient(
      135deg,
      #ffdce9,
      #e6dfff,
      #dcf4ef
    ) !important;
}

.myp-section-head h2 {
  color: #81234a !important;
}

/* النصوص الطويلة */

.myp-long-text {
  color: #432637 !important;

  border-right-color: #b42761 !important;

  background:
    linear-gradient(
      135deg,
      #fff0f5,
      #f2edff,
      #e8f8f5
    ) !important;
}

/* بطاقات التفاصيل */

.myp-detail-item {
  border: 2px solid rgba(150, 65, 111, 0.15) !important;

  background:
    linear-gradient(
      135deg,
      #ffedf4,
      #f0ebff,
      #e6f8f4
    ) !important;
}

.myp-detail-item span {
  color: #725865 !important;
}

.myp-detail-item strong {
  color: #472637 !important;
}

/* الخطأ */

.myp-error-card {
  border: 2px solid var(--myp-border) !important;

  background:
    linear-gradient(
      135deg,
      #ffe7f0,
      #eee8ff,
      #dff6f1
    ) !important;
}

/* الفوتر */

.myp-footer {
  border-top:
    2px solid rgba(159, 31, 80, 0.12) !important;

  background:
    linear-gradient(
      90deg,
      rgba(255, 226, 237, 0.90),
      rgba(238, 232, 255, 0.90),
      rgba(221, 247, 242, 0.90)
    ) !important;
}

/* الموبايل */

@media (max-width: 720px) {
  body {
    background:
      linear-gradient(
        160deg,
        #ffeaf3,
        #f0eaff,
        #dff6f1
      ) !important;
  }

  .myp-header {
    position: relative !important;
  }

  .myp-hero-card,
  .myp-section {
    border-radius: 23px !important;
  }
}

