:root{
  --hp-bg:#f4f6f8;
  --hp-bg-grad-start:var(--hp-bg);
  --hp-bg-grad-end:var(--hp-bg);
  --hp-surface:#ffffff;
  --hp-surface2:#f0f2f5;
  --hp-sidebar:#ffffff;
  --hp-border:rgba(0,0,0,0.08);
  --hp-border-w:1px;
  --hp-text:#1a1d21;
  --hp-muted:rgba(0,0,0,0.45);
  --hp-primary:#2dc88c;
  --hp-primary2:#24a374;
  --hp-primary-soft:rgba(45,200,140,0.10);
  --hp-success:#2dc88c;
  --hp-danger:#ef4444;
  --hp-shadow:0 10px 25px rgba(0,0,0,.06);
  --hp-gold:#b8941f;
  --hp-gold-soft:rgba(184,148,31,0.08);
  --hp-radius:18px;
  --hp-offer-bg:var(--hp-surface);
  --hp-offer-border:var(--hp-border);
  --hp-offer-border-w:var(--hp-border-w);
  --hp-offer-radius:var(--hp-radius);
  --hp-btn-grad-start:var(--hp-primary);
  --hp-btn-grad-end:var(--hp-primary2);
  --hp-btn-text:#ffffff;
  --hp-sidebar-text:var(--hp-text);
  --hp-sidebar-font-size:14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body.client-ui{
  margin:0;
  font-family:'Inter',-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size:var(--hp-base-font-size, 14px);
  background:linear-gradient(135deg, var(--hp-bg-grad-start), var(--hp-bg-grad-end));
  color:var(--hp-text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
a{color:inherit}

/* --- الهيكل الرئيسي --- */
.hp-shell{display:flex;min-height:100vh}
.hp-sidebar{
  width:260px;                    /* عرض ثابت للشريط الجانبي */
  background:var(--hp-sidebar);
  border-right:var(--hp-border-w) solid var(--hp-border);
  padding:16px 12px;
  position:sticky;
  top:0;
  height:100vh;                   /* ارتفاع كامل للشاشة */
  overflow:auto;
}
.hp-main{flex:1 1 auto;min-width:0}

/* الشعار والعلامة التجارية */
.hp-brand{
  display:flex;align-items:center;gap:10px;
  text-decoration:none;
  padding:10px 10px;
  border-radius:14px;
  color:var(--hp-sidebar-text);
}
.hp-brand:hover{background:rgba(0,0,0,.03)}
.hp-logo{
  width:34px;height:34px;border-radius:12px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--hp-btn-grad-start),var(--hp-btn-grad-end));
  color:#fff;font-weight:900;
  box-shadow:0 8px 18px rgba(45,200,140,.25);
}
.hp-brand-text{font-weight:900;letter-spacing:-.01em}

/* عناصر الشريط الجانبي */
.hp-nav{margin-top:10px;display:flex;flex-direction:column;gap:6px}
.hp-item{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  color:var(--hp-sidebar-text);
  font-size:var(--hp-sidebar-font-size);
}
.hp-item:hover{background:rgba(0,0,0,.04)}
.hp-item.active{background:var(--hp-nav-active-bg, rgba(45,200,140,0.08));box-shadow:0 0 20px rgba(45,200,140,.04);border:var(--hp-border-w) solid var(--hp-nav-active-border, rgba(45,200,140,0.15));color:var(--hp-nav-active-text, var(--hp-primary))}
.hp-ico{width:22px;display:inline-flex;justify-content:center}
.hp-sidebar .hp-ico{color:var(--hp-sidebar-icon, var(--hp-muted))}
.hp-sidebar .hp-ico svg{width:18px;height:18px;display:block} /* أبعاد ثابتة للأيقونات */
.hp-sep{height:1px;background:var(--hp-border);margin:8px 10px}

/* الشريط العلوي */
.hp-topbar{
  position:sticky;top:0;z-index:40;
  background:var(--hp-topbar-bg, rgba(255,255,255,0.85));
  backdrop-filter:blur(20px);
  border-bottom:var(--hp-border-w) solid var(--hp-topbar-border, var(--hp-border));
  padding:12px 16px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.hp-topbar-left{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0}
.hp-topbar-right{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.hp-iconbtn{
  border:var(--hp-border-w) solid var(--hp-border);
  background:transparent;
  border-radius:var(--hp-radius);
  padding:8px 10px;
  font-weight:800;
  cursor:pointer;
  color:var(--hp-text);
}

/* شريط البحث - تم تعديل العرض */
.hp-search{
  display:flex;align-items:center;gap:8px;
  flex:1 1 auto;
  min-width:200px;          /* تم تصغير العرض من 240px إلى 200px */
  max-width:320px;          /* حد أقصى جديد */
  border:var(--hp-border-w) solid var(--hp-border);
  border-radius:999px;
  padding:8px 12px;
  background:var(--hp-surface2);
}
.hp-search-ico{opacity:.7}
.hp-search-input{
  border:0;outline:0;background:transparent;
  width:100%;font-size:14px;
  color:var(--hp-text);
  font-family:'Inter',-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.hp-kbd{
  border:var(--hp-border-w) solid var(--hp-border);
  background:rgba(0,0,0,0.04);
  border-radius:var(--hp-radius);
  padding:2px 8px;
  font-size:12px;
  color:var(--hp-muted);
}

/* الشرائح (Chips) */
.hp-chip{
  display:inline-flex;align-items:center;gap:8px;
  text-decoration:none;
  border:1px solid rgba(45,200,140,.25);
  background:rgba(45,200,140,.08);
  color:var(--hp-primary);
  border-radius:999px;
  padding:10px 14px;
  font-weight:800;
  font-size:13px;
}
.hp-chip:hover{filter:brightness(.98)}
.hp-chip-ghost{
  border:var(--hp-border-w) solid var(--hp-border);
  background:var(--hp-surface2);
  color:var(--hp-text);
  cursor:pointer;
}
.hp-chip-text{white-space:nowrap}

/* قائمة الحساب */
.hp-account{position:relative}
.hp-account-btn{
  display:flex;align-items:center;gap:10px;
  border:var(--hp-border-w) solid var(--hp-border);
  background:transparent;
  border-radius:999px;
  padding:7px 10px;
  cursor:pointer;
  color:var(--hp-text);
}
.hp-cur{position:relative}
.hp-cur-btn{
  list-style:none;
  display:flex;align-items:center;gap:8px;
  border:var(--hp-border-w) solid var(--hp-border);
  background:transparent;
  border-radius:999px;
  padding:7px 10px;
  cursor:pointer;
  user-select:none;
  color:var(--hp-text);
}
.hp-cur-btn::-webkit-details-marker{display:none}
.hp-cur-flag{display:inline-flex;align-items:center}
.hp-cur-flag svg{width:14px;height:10px;display:block}
.hp-cur-code{font-weight:900;font-size:13px}
.hp-cur-caret{opacity:.7}
.hp-cur-menu{
  position:absolute;right:0;top:calc(100% + 10px);
  width:160px;
  background:var(--hp-surface);
  border:var(--hp-border-w) solid var(--hp-border);
  border-radius:var(--hp-radius);
  box-shadow:var(--hp-shadow);
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:6px;
  z-index:50;
}
.hp-cur-menu form{margin:0}
.hp-cur-item{
  width:100%;
  display:flex;align-items:center;gap:10px;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid transparent;
  background:transparent;
  cursor:pointer;
  font-weight:900;
  font-size:13px;
  color:var(--hp-text);
  text-align:left;
}
.hp-cur-item:hover{background:rgba(0,0,0,0.04)}
.hp-cur-item.active{background:var(--hp-primary-soft);border-color:rgba(45,200,140,.25);color:var(--hp-primary);cursor:default}
.hp-cur-item:disabled{opacity:1}
.hp-avatar{
  width:32px;height:32px;border-radius:999px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,rgba(45,200,140,0.15),rgba(45,200,140,0.08));
  color:var(--hp-primary);
  font-weight:900;
}
.hp-account-name{font-weight:800;font-size:13px}
.hp-caret{opacity:.7}
.hp-menu{
  position:absolute;right:0;top:calc(100% + 10px);
  width:240px;                              /* عرض ثابت للقائمة */
  background:var(--hp-surface);
  border:var(--hp-border-w) solid var(--hp-border);
  border-radius:var(--hp-radius);
  box-shadow:var(--hp-shadow);
  padding:10px;
  display:none;
}
.hp-account.open .hp-menu{display:block}
.hp-menu-head{padding:8px 10px 10px}
.hp-menu-title{font-size:12px;color:var(--hp-muted);font-weight:800}
.hp-menu-sub{font-size:13px;font-weight:900;margin-top:2px}
.hp-menu-item{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
}
.hp-menu-item:hover{background:rgba(0,0,0,0.04)}
.hp-menu-item.danger{color:var(--hp-danger)}
.hp-menu-sep{height:1px;background:var(--hp-border);margin:8px 6px}

/* منطقة المحتوى */
.hp-content{padding:22px 22px 40px}
.hp-container{max-width:1180px;margin:0 auto}

.hp-page-title{margin:0 0 12px;font-size:var(--hp-page-title-size, 30px);letter-spacing:-.02em;color:var(--hp-text)}
.hp-header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}

.hp-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}

/* المكونات الأساسية للواجهة */
.card{
  background:var(--hp-surface);
  border:var(--hp-border-w) solid var(--hp-border);
  border-radius:var(--hp-radius);
  padding:16px;
  box-shadow:0 1px 3px rgba(0,0,0,0.04);
}
.small{color:var(--hp-muted);font-size:13px;line-height:1.5}
.badge{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 10px;border-radius:999px;
  border:var(--hp-border-w) solid var(--hp-border);
  background:var(--hp-surface2);
  font-size:12px;color:var(--hp-muted);
  font-weight:700;
}
.tile-title{display:flex;align-items:center;gap:8px}
.tile-ico{width:16px;height:16px;display:inline-block;flex:0 0 auto} /* أبعاد ثابتة للأيقونات */
.tile-ico *{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:10px 14px;border-radius:var(--hp-radius);
  border:var(--hp-border-w) solid var(--hp-border);
  background:var(--hp-surface);
  text-decoration:none;
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  color:var(--hp-text);
  font-family:'Inter',-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition:all 0.3s ease;
}
.btn:hover{background:rgba(0,0,0,0.03)}
.btn.primary{background:linear-gradient(135deg,var(--hp-btn-grad-start),var(--hp-btn-grad-end));border-color:var(--hp-btn-grad-end);color:var(--hp-btn-text)}
.btn.primary:hover{background:linear-gradient(135deg,var(--hp-btn-grad-end),var(--hp-btn-grad-start));box-shadow:0 4px 14px rgba(45,200,140,0.25)}
.btn.ghost{background:transparent;border-color:rgba(0,0,0,0.1)}
.btn.ghost:hover{background:rgba(0,0,0,0.03)}
.btn.danger{background:rgba(239,68,68,0.08);border-color:rgba(239,68,68,0.2);color:#ef4444}
.btn.btn-sm{padding:6px 10px;font-size:12px;border-radius:var(--hp-radius)}

.input{
  width:100%;
  padding:10px 12px;
  border:var(--hp-border-w) solid var(--hp-border);
  border-radius:var(--hp-radius);
  background:var(--hp-surface);
  color:var(--hp-text);
  font-family:'Inter',-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.input::placeholder{color:var(--hp-muted)}

/* صفحة البحث عن النطاقات - تم تعديل العرض */
.domain-lookup-hero{
  background:linear-gradient(135deg,var(--hp-domain-lookup-grad-start, rgba(45,200,140,0.08)) 0%,var(--hp-domain-lookup-grad-end, rgba(45,200,140,0.03)) 100%);
  border:1px solid rgba(45,200,140,.15);
  border-radius:22px;
  padding:22px;
  color:var(--hp-text);
  box-shadow:0 4px 16px rgba(0,0,0,.04);
  overflow:hidden;
  position:relative;
  min-height:var(--domain-lookup-hero-height,180px);
  display:flex;
  flex-direction:column;
}
.domain-lookup-hero .small{color:var(--hp-muted)}
.domain-lookup-hero h2{
  margin:0 0 10px;
  font-size:28px;
  letter-spacing:-.02em;
  font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.domain-lookup-hero-head{
  position:relative;
  z-index:2;
  max-width:420px; /* تم تصغير العرض من 520px إلى 420px */
}
.domain-lookup-hero-art{
  position:absolute;
  left:50%;
  top:56%;
  transform:translate(-50%,-50%);
  width:min(460px,82vw);          /* تم تعديل العرض */
  height:auto;
  z-index:1;
  pointer-events:none;
}
.domain-lookup-hero-art svg{width:100%;height:auto;display:block}
.domain-lookup-bar{
  margin-top:14px;
  display:flex;
  align-items:center;
  gap:10px;
  background:#ffffff;
  border-radius:999px;
  padding:10px 10px 10px 14px;
  box-shadow:0 4px 16px rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.08);
}
.domain-lookup-bar--hero{
  margin-top:auto;
  width:min(420px,100%);          /* تم تصغير العرض من 520px إلى 420px */
  position:relative;
  z-index:2;
}
.domain-lookup-icon{display:inline-flex;opacity:.7;color:var(--hp-muted)}
.domain-lookup-icon svg{width:18px;height:18px;display:block} /* أبعاد ثابتة */
.domain-lookup-input{
  border:0;
  outline:0;
  background:transparent;
  width:100%;
  font-size:16px;
  padding:8px 6px;
  color:var(--hp-text);
  font-family:'Inter',-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.domain-lookup-input::placeholder{color:var(--hp-muted)}
.btn.domain-lookup-button{
  border-radius:999px;
  padding:12px 18px;
  background:#2dc88c;
  border-color:#2dc88c;
  color:#ffffff;
  font-size:14px;
  font-family:'Inter',-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.btn.domain-lookup-button:disabled{opacity:.7;cursor:not-allowed}
.flag-select{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji";font-variant-emoji:emoji;}
.flag-select option{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji";font-variant-emoji:emoji;}
.flag-dropdown{position:relative;min-width:180px;} /* عرض أدنى */
.flag-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;}
.flag-trigger-inner{display:flex;align-items:center;gap:8px;min-width:0;}
.flag-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.flag-caret{font-size:12px;color:var(--hp-muted);}
.flag-menu{position:absolute;left:0;right:0;top:100%;margin-top:6px;max-height:240px;overflow:auto;background:var(--hp-surface);border:var(--hp-border-w) solid var(--hp-border);border-radius:var(--hp-radius);box-shadow:0 10px 25px rgba(17,24,39,.12);display:none;z-index:9999;}
.flag-menu.open{display:block;}
.flag-option{width:100%;display:flex;align-items:center;gap:8px;padding:8px 10px;border:0;background:transparent;color:var(--hp-text);cursor:pointer;text-align:left;font-size:13px;}
.flag-option:hover{background:var(--hp-surface2);}
.flag-img{width:18px;height:18px;border-radius:50%;display:block;flex:0 0 auto;} /* أبعاد ثابتة لصور الأعلام */
.input:focus{outline:2px solid rgba(45,200,140,.2);border-color:rgba(45,200,140,.4)}
.label{display:block;margin:10px 0 6px;color:var(--hp-muted);font-size:13px;font-weight:700}
.email-create-form{
  margin-top:10px;
  padding:12px;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:16px;
  background:rgba(0,0,0,0.02);
  display:block;
}
.email-create-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); /* شبكة مرنة */
  gap:12px;
  align-items:end;
}
.email-create-form .input{
  background:#ffffff;
}
.email-create-actions{display:flex;align-items:end}
.email-actions{display:flex;align-items:center;overflow-x:auto;gap:8px}
.email-actions-row{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:max-content}
.email-action-form{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}
.email-action-input{width:150px}
.email-action-input.small{width:110px}
.email-action-btn{white-space:nowrap}

.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:10px 10px;border-bottom:1px solid var(--hp-border);text-align:left;font-size:13px}
.table th{color:var(--hp-muted);font-weight:900}
.table td{color:var(--hp-text)}
.table.compact th,.table.compact td{padding:6px 8px;font-size:12px}

.flash{padding:10px 12px;border-radius:var(--hp-radius);margin:0 0 14px;border:var(--hp-border-w) solid var(--hp-border);background:var(--hp-surface)}
.flash.ok{border-color:rgba(22,163,74,.35);background:rgba(22,163,74,.07)}
.flash.err{border-color:rgba(220,38,38,.35);background:rgba(220,38,38,.07)}

.fm-ico{display:inline-block;width:18px;margin-right:6px;opacity:.9}
.fm-name{vertical-align:middle}
.fm-actions{white-space:nowrap}
.fm-more{padding:5px 9px}
.fm-menu{position:fixed;z-index:9999;min-width:170px;background:var(--hp-surface);color:var(--hp-text);border-radius:var(--hp-radius);border:var(--hp-border-w) solid var(--hp-border);box-shadow:0 10px 35px rgba(0,0,0,.1);overflow:hidden}
.fm-menu.hidden{display:none}
.fm-menu button{display:block;width:100%;text-align:left;padding:10px 12px;border:0;background:transparent;font-size:13px;cursor:pointer}
.fm-menu button{color:var(--hp-text)}
.fm-menu button:hover{background:rgba(0,0,0,0.04)}
.fm-menu button.danger{color:#b91c1c}
.fm-bulkbar{border:var(--hp-border-w) solid var(--hp-border);border-radius:var(--hp-radius);padding:10px 12px;background:rgba(0,0,0,.02)}
.fm-bulkbar .small{color:var(--hp-muted)}
.fm-select{width:16px;height:16px} /* أبعاد ثابتة لمربعات الاختيار */
.fm-frame{border-color:#c1c7d0}
.fm-frame .table th,.fm-frame .table td{border-bottom-color:#c1c7d0}
.fm-frame .fm-bulkbar{border-color:#c1c7d0}

.hp-panel-title{font-size:18px;font-weight:900;margin:0 0 8px}
.hp-panel-sub{font-size:13px;color:var(--hp-muted)}
.hp-kv{display:grid;gap:6px;margin-top:10px}
.hp-kv div{font-size:13px;color:var(--hp-text)}
.hp-kv span{color:var(--hp-muted)}
.hp-tile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px} /* شبكة 4 أعمدة */
.hp-tile{
  display:flex;flex-direction:column;gap:10px;
  border:var(--hp-border-w) solid var(--hp-border);
  background:var(--hp-surface);
  border-radius:var(--hp-radius);
  padding:12px;
  text-decoration:none;
  box-shadow:0 1px 3px rgba(0,0,0,0.04);
  transition:all 0.3s ease;
}
.hp-tile:hover{background:#f8faf9;box-shadow:0 4px 12px rgba(0,0,0,0.06)}
.hp-tile-top{display:flex;align-items:center;gap:8px}
.hp-tile-name{font-weight:900;font-size:13px}
.hp-tile-desc{font-size:12px;color:var(--hp-muted);line-height:1.4}

/* عناصر لوحة التحكم */
.hp-title{font-size:28px;margin:0 0 14px;letter-spacing:-.02em}
.hp-promo{
  background:var(--hp-promo-bg, linear-gradient(135deg, rgba(45,200,140,.06), rgba(45,200,140,.02)));
  border:1px solid rgba(45,200,140,.15);
  border-radius:18px;
  padding:18px;
  position:relative;
  overflow:hidden;
}
.hp-promo h2{margin:0 0 4px;font-size:18px}
.hp-promo p{margin:0;color:var(--hp-muted);font-size:13px}
.hp-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}
.hp-offer{
  background:var(--hp-offer-bg);
  border:var(--hp-offer-border-w) solid var(--hp-offer-border);
  border-radius:var(--hp-offer-radius);
  padding:16px;
  box-shadow:0 1px 3px rgba(0,0,0,0.04);
  position:relative;
  overflow:hidden;
  text-align:left;
  direction:ltr;
  transition:transform 0.4s ease, box-shadow 0.4s ease;
}
.hp-myservices-frame .hp-offers{margin-top:12px}
.hp-myservice-card .offer-card-subtitle{margin-top:6px}
.hp-myservice-card .offer-card-benefits li::before{content:"•"}
.hp-myservice-card .offer-card-title.hp-myservice-domain{font-size:16px;text-decoration:none}
.hp-myservice-card .offer-card-title.hp-myservice-domain:hover{text-decoration:underline}
.offer-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.offer-card-top > div:first-child{min-width:0;flex:1 1 auto}
.offer-card-title{
  font-size:18px;
  font-weight:900;
  line-height:1.2;
  color:var(--hp-text);
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.offer-card-subtitle{
  display:block;
  margin-top:40px;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.offer-card-top-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  flex:0 0 auto;
  flex-shrink:0;
  min-width:max-content;
}
.offer-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(45,200,140,.08);
  color:var(--hp-primary);
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(45,200,140,0.15);
}
.offer-save{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:10px;
  background:linear-gradient(135deg,#ef4444,#f97316);
  color:#ffffff;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.04em;
  white-space:nowrap;
  box-shadow:0 10px 20px rgba(239,68,68,.18);
  transform:rotate(-10deg);
}
.offer-card-cycle{
  margin-top:6px;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.10em;
  color:var(--hp-muted);
}
.offer-card-price{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:2px;
  margin:10px 0 6px;
}
.offer-price-row{
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  gap:6px;
}
.offer-price-old{
  font-size:12px;
  color:var(--hp-muted);
  text-decoration:line-through;
}
.offer-price-main{
  font-size:34px;
  font-weight:1000;
  color:var(--hp-text);
  letter-spacing:-.02em;
}
.offer-price-suffix{
  font-size:12px;
  color:var(--hp-muted);
  margin-bottom:6px;
}
.offer-card-benefits-title{
  margin-top:10px;
  font-size:12px;
  font-weight:1000;
  color:var(--hp-text);
}
.offer-card-benefits{
  list-style:none;
  margin:10px 0 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
  text-align:left;
}
.offer-card-benefits li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:13px;
  color:var(--hp-muted);
  line-height:1.5;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.offer-card-benefits li::before{
  content:"✓";
  color:rgba(0,0,0,0.25);
  font-weight:900;
  flex:0 0 auto;
}
.offer-card-benefits-html ul,
.offer-card-benefits-html ol{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--hp-muted);
}
.offer-card-benefits-html li{margin:8px 0}
.hp-offer:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,0.08);
}
.hp-offer::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:3px;
  background:linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.06) 50%, transparent 100%);
}
.hp-offer::after{
  content:none;
}
.hp-offer.is-featured{
  background:linear-gradient(180deg, rgba(45,200,140,0.04) 0%, #ffffff 100%);
  border-color:rgba(45,200,140,0.25);
  box-shadow:0 4px 20px rgba(45,200,140,0.08);
}
.hp-offer.is-featured::before{
  background:linear-gradient(90deg, transparent 0%, #2dc88c 50%, transparent 100%);
  height:3px;
}
.hp-offer.is-featured::after{
  content:none;
}
.hp-offer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}
.hp-offer-label{
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em;
  color:var(--hp-muted);
  text-transform:uppercase;
}
.hp-offer-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 8px;
  border-radius:8px;
  background:rgba(184,148,31,0.08);
  color:#8a6d0f;
  border:1px solid rgba(184,148,31,0.15);
  font-size:11px;
  font-weight:900;
}
.hp-offer-title,
.hp-offer-name{
  font-size:18px;
  font-weight:900;
  line-height:1.2;
  color:var(--hp-text);
}
.hp-offer-cycle{
  font-size:12px;
  color:var(--hp-muted);
  margin-top:4px;
}
.hp-offer-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.hp-offer-price,
.hp-price{
  font-size:34px;
  font-weight:1000;
  color:var(--hp-text);
  margin:8px 0;
}
.hp-offer-price-line{
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  gap:6px;
  margin:8px 0;
}
.hp-offer-price-main{
  font-size:34px;
  font-weight:1000;
  color:var(--hp-text);
  letter-spacing:-.02em;
}
.hp-offer-price-suffix{
  font-size:12px;
  color:var(--hp-muted);
  margin-bottom:4px;
}
.hp-offer-features{
  list-style:none;
  margin:12px 0 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
  text-align:left;
}
.hp-offer-features li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:13px;
  color:var(--hp-text);
  line-height:1.5;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.hp-offer-features li{
  color:var(--hp-muted);
}
.hp-offer-features li::before{
  content:"✓";
  color:rgba(0,0,0,0.25);
  font-weight:900;
  flex:0 0 auto;
}
.hp-offer.is-featured .hp-offer-features li::before,
.hp-offer.is-featured .offer-card-benefits li::before{
  color:#2dc88c;
}
.hp-offer-desc{
  white-space:pre-line;
  overflow-wrap:anywhere;
  word-break:break-word;
  line-height:1.5;
  font-size:13px;
  color:var(--hp-text);
}
.hp-offer h3{margin:0 0 6px;font-size:16px}
.hp-offer .old{color:var(--hp-muted);text-decoration:line-through;font-size:12px}
.hp-offer .deal{display:inline-flex;align-items:center;gap:6px;margin-top:8px}
.hp-pill{
  display:inline-flex;align-items:center;justify-content:center;
  padding:5px 10px;border-radius:999px;
  background:rgba(45,200,140,.08);
  color:var(--hp-primary);
  font-size:12px;font-weight:900;
  border:1px solid rgba(45,200,140,0.15);
}
.hp-sub{font-size:12px;color:var(--hp-muted)}
.hp-btnwide{width:100%;margin-top:12px}
.hp-offer-cta{
  background:var(--hp-surface2);
  border:var(--hp-border-w) solid var(--hp-border);
  color:var(--hp-text);
}
.hp-offer-cta:hover{background:rgba(0,0,0,0.06)}
.hp-offer.is-featured .hp-offer-cta{
  background:linear-gradient(135deg,var(--hp-btn-grad-start),var(--hp-btn-grad-end));
  border-color:var(--hp-btn-grad-end);
  color:var(--hp-btn-text);
}
.hp-offer.is-featured .hp-offer-cta:hover{
  background:linear-gradient(135deg,var(--hp-btn-grad-end),var(--hp-btn-grad-start));
  box-shadow:0 4px 14px rgba(45,200,140,0.25);
}
.offer-cta{
  background:linear-gradient(135deg,var(--hp-btn-grad-start),var(--hp-btn-grad-end));
  border:var(--hp-border-w) solid var(--hp-btn-grad-end);
  color:var(--hp-btn-text);
}
.offer-cta:hover{
  background:linear-gradient(135deg,var(--hp-btn-grad-end),var(--hp-btn-grad-start));
  border-color:var(--hp-btn-grad-end);
  box-shadow:0 4px 14px rgba(45,200,140,0.25);
}

.hp-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px} /* شبكة 3 أعمدة */

.reg-card{max-width:820px;margin:30px auto}
.reg-section{margin-top:16px;padding-top:6px}
.reg-title{font-weight:900;font-size:14px;margin-bottom:8px}
.reg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px} /* شبكة عمودين */
.reg-span{grid-column:1/-1}

/* ==================== قسم نتائج البحث الجديد ==================== */

/* ترويسة النتائج - محسنة */
.results-header {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 20px;
  border: 1px solid var(--hp-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.results-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--hp-text);
  margin-bottom: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.3px;
}

.results-count {
  font-size: 14px;
  color: var(--hp-muted);
  font-weight: 600;
}

/* ==================== تصميم القائمة (مثل الصورة) ==================== */

/* حاوية القائمة الرئيسية */
.domain-list-container {
  background: var(--hp-surface);
  border-radius: 12px;
  border: 1px solid var(--hp-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 30px;
}

/* رموز الحالة */
.domain-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 12px;
  font-weight: bold;
}

.available-icon {
  background-color: rgba(22, 163, 74, 0.15);
  color: var(--hp-success);
}

.taken-icon {
  background-color: rgba(220, 38, 38, 0.15);
  color: var(--hp-danger);
}

/* ترويسة القائمة */
.domain-list-header {
  display: flex;
  padding: 14px 20px;
  background: var(--hp-surface2);
  border-bottom: 1px solid var(--hp-border);
  font-weight: 700;
  font-size: 12px;
  color: var(--hp-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.domain-list-header-cell {
  flex: 1;
  padding: 0 8px;
}

.domain-list-header-name {
  flex: 2;
}

.domain-list-header-status {
  flex: 1;
}

.domain-list-header-price {
  flex: 1;
}

.domain-list-header-action {
  flex: 1;
  text-align: right;
}

/* عناصر القائمة */
.domain-list-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--hp-border);
  background: var(--hp-surface);
  transition: background 0.2s ease;
}

.domain-list-item:hover {
  background: var(--hp-surface2);
}

.domain-list-item:nth-child(even) {
  background: rgba(0,0,0,0.015);
}

.domain-list-item:nth-child(even):hover {
  background: rgba(0,0,0,0.03);
}

.domain-list-item:last-child {
  border-bottom: none;
}

/* خلايا القائمة */
.domain-list-cell {
  flex: 1;
  padding: 0 8px;
}

.domain-list-name {
  flex: 2;
  font-weight: 600;
  color: var(--hp-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
}

.domain-list-status {
  flex: 1;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
}

.domain-available-text {
  color: var(--hp-success);
}

.domain-taken-text {
  color: var(--hp-danger);
}

.domain-list-price {
  flex: 1;
  color: var(--hp-primary);
  font-weight: 700;
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.domain-list-period {
  color: var(--hp-muted);
  font-size: 13px;
  margin-left: 4px;
  font-weight: 500;
}

.domain-list-action {
  flex: 1;
  text-align: right;
}

/* زر التسجيل في القائمة */
.domain-list-btn {
  background: #2dc88c;
  border: 1px solid #2dc88c;
  border-radius: 8px;
  padding: 8px 16px;
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter',-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-width: 100px;
}

.domain-list-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(45,200,140, 0.2);
  background: #24a374;
}

.domain-list-btn:disabled {
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.25);
  border-color: rgba(0,0,0,0.08);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* حالة عدم التوفر */
.domain-unavailable {
  color: var(--hp-muted);
  font-size: 13px;
  font-weight: 500;
}

/* الأقسام الجانبية */
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--hp-text);
  margin: 28px 0 18px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--hp-primary-soft);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* البطاقات الجانبية */
.sidebar-card {
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.sidebar-card:hover {
  background: #f8faf9;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(0,0,0, 0.06);
}

.sidebar-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--hp-text);
  margin-bottom: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.sidebar-card-desc {
  font-size: 12px;
  color: var(--hp-muted);
  line-height: 1.5;
}

/* تخطيط النتائج */
.results-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.results-main {
  grid-column: 1;
}

.results-sidebar {
  grid-column: 2;
}

/* ==================== نهاية قسم نتائج البحث الجديد ==================== */

@media (max-width: 720px){
  .reg-grid{grid-template-columns:1fr} /* عمود واحد على الجوال */
  
  /* تعديلات للشاشات الصغيرة */
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .results-sidebar {
    grid-column: 1;
    margin-top: 20px;
  }
  
  /* تعديلات القائمة للجوال */
  .domain-list-header {
    display: none;
  }
  
  .domain-list-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
  }
  
  .domain-list-cell {
    width: 100%;
    padding: 0;
  }
  
  .domain-list-name {
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  .domain-list-status {
    justify-content: space-between;
    width: 100%;
    margin-bottom: 8px;
  }
  
  .domain-list-price {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .domain-list-action {
    text-align: left;
    width: 100%;
  }
  
  .domain-list-btn {
    width: 100%;
    padding: 10px;
  }
}

/* تصميم متجاوب */
@media (max-width: 980px){
  .hp-chip-text{display:none}
  .hp-search{
    min-width:180px; /* تعديل للشاشات المتوسطة */
  }
  .hp-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))} /* شبكة عمودين */
  
  .domain-lookup-hero-head {
    max-width: 380px;
  }
  
  .domain-lookup-bar--hero {
    width: min(380px, 100%);
  }
  
  /* تعديلات القائمة للشاشات المتوسطة */
  .domain-list-name {
    flex: 1.5;
  }
  
  .domain-list-status,
  .domain-list-price,
  .domain-list-action {
    flex: 1;
  }
}
/* تحسينات لعرض الإجراءات في جدول البريد الإلكتروني */
.email-actions-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* تصغير عرض حقول الإدخال في الإجراءات */
.email-actions-row .input[type="password"] {
    width: 120px !important;
    min-width: 100px;
}

.email-actions-row .input[type="number"] {
    width: 80px !important;
    min-width: 60px;
}

/* توحيد حجم الأزرار */
.email-actions-row .btn {
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
}

/* تحسين العرض على الشاشات الصغيرة */
@media (max-width: 1200px) {
    .email-actions-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .email-actions-row form {
        width: 100%;
    }
    
    .email-actions-row .input[type="password"],
    .email-actions-row .input[type="number"] {
        width: 100% !important;
    }
}
@media (max-width: 880px){
  .hp-sidebar{position:fixed;left:0;top:0;transform:translateX(-105%);transition:transform .18s ease;z-index:80}
  .hp-shell.sidebar-open .hp-sidebar{transform:translateX(0)}
  .hp-shell.sidebar-open::before{
    content:'';position:fixed;inset:0;background:rgba(0,0,0,.15);z-index:70
  }
  .hp-offers,.hp-quick{grid-template-columns:1fr} /* عمود واحد */
  .hp-tile-grid{grid-template-columns:1fr} /* عمود واحد */
  .hp-services-grid .hp-service-card{grid-column:span 12!important}
  
  .domain-lookup-hero-head {
    max-width: 100%;
  }
  
  .domain-lookup-bar--hero {
    width: 100%;
  }
  
  .results-header {
    padding: 16px 18px;
  }
  
  .results-title {
    font-size: 20px;
  }
  
  /* تعديلات القائمة للشاشات الصغيرة */
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .results-sidebar {
    margin-top: 24px;
  }
}
