/*!
 * Cropper.js v1.5.12
 * https://fengyuanchen.github.io/cropperjs
 *
 * Copyright 2015-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2021-06-12T08:00:11.623Z
 */

 .cropper-container {
    direction: ltr;
    font-size: 0;
    line-height: 0;
    position: relative;
    -ms-touch-action: none;
    touch-action: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

h1 {
    text-align: center;
    color: #ffffff;
    font-family: "Segoe UI", sans-serif;
    font-size: 45px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 2px;
    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(110, 220, 230, 0.25);
    transition: all 0.35s ease;
    cursor: default;
}

h1:hover {
    color: #e6fbff;
    letter-spacing: 3px;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(110, 220, 230, 0.55);
    transform: scale(1.03);
}
  .cropper-container img {
    display: block;
    height: 100%;
    image-orientation: 0deg;
    max-height: none !important;
    max-width: none !important;
    min-height: 0 !important;
    min-width: 0 !important;
    width: 100%;
  }
  
  .cropper-wrap-box,
  .cropper-canvas,
  .cropper-drag-box,
  .cropper-crop-box,
  .cropper-modal {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .cropper-wrap-box,
  .cropper-canvas {
    overflow: hidden;
  }
  
  .cropper-drag-box {
    background-color: #fff;
    opacity: 0;
  }
  
  .cropper-modal {
    background-color: #000;
    opacity: 0.5;
  }
  
  .cropper-view-box {
    display: block;
    height: 100%;
    outline: 1px solid #39f;
    outline-color: rgba(51, 153, 255, 0.75);
    overflow: hidden;
    width: 100%;
  }
  
  .cropper-dashed {
    border: 0 dashed #eee;
    display: block;
    opacity: 0.5;
    position: absolute;
  }
  
  .cropper-dashed.dashed-h {
    border-bottom-width: 1px;
    border-top-width: 1px;
    height: calc(100% / 3);
    left: 0;
    top: calc(100% / 3);
    width: 100%;
  }
  
  .cropper-dashed.dashed-v {
    border-left-width: 1px;
    border-right-width: 1px;
    height: 100%;
    left: calc(100% / 3);
    top: 0;
    width: calc(100% / 3);
  }
  
  .cropper-center {
    display: block;
    height: 0;
    left: 50%;
    opacity: 0.75;
    position: absolute;
    top: 50%;
    width: 0;
  }
  
  .cropper-center::before,
  .cropper-center::after {
    background-color: #eee;
    content: ' ';
    display: block;
    position: absolute;
  }
  
  .cropper-center::before {
    height: 1px;
    left: -3px;
    top: 0;
    width: 7px;
  }
  
  .cropper-center::after {
    height: 7px;
    left: 0;
    top: -3px;
    width: 1px;
  }
  
  .cropper-face,
  .cropper-line,
  .cropper-point {
    display: block;
    height: 100%;
    opacity: 0.1;
    position: absolute;
    width: 100%;
  }
  
  .cropper-face {
    background-color: #fff;
    left: 0;
    top: 0;
  }
  
  .cropper-line {
    background-color: #39f;
  }
  
  .cropper-line.line-e {
    cursor: ew-resize;
    right: -3px;
    top: 0;
    width: 5px;
  }
  
  .cropper-line.line-n {
    cursor: ns-resize;
    height: 5px;
    left: 0;
    top: -3px;
  }
  
  .cropper-line.line-w {
    cursor: ew-resize;
    left: -3px;
    top: 0;
    width: 5px;
  }
  
  .cropper-line.line-s {
    bottom: -3px;
    cursor: ns-resize;
    height: 5px;
    left: 0;
  }
  
  .cropper-point {
    background-color: #39f;
    height: 5px;
    opacity: 0.75;
    width: 5px;
  }
  
  .cropper-point.point-e {
    cursor: ew-resize;
    margin-top: -3px;
    right: -3px;
    top: 50%;
  }
  
  .cropper-point.point-n {
    cursor: ns-resize;
    left: 50%;
    margin-left: -3px;
    top: -3px;
  }
  
  .cropper-point.point-w {
    cursor: ew-resize;
    left: -3px;
    margin-top: -3px;
    top: 50%;
  }
  
  .cropper-point.point-s {
    bottom: -3px;
    cursor: s-resize;
    left: 50%;
    margin-left: -3px;
  }
  
  .cropper-point.point-ne {
    cursor: nesw-resize;
    right: -3px;
    top: -3px;
  }
  
  .cropper-point.point-nw {
    cursor: nwse-resize;
    left: -3px;
    top: -3px;
  }
  
  .cropper-point.point-sw {
    bottom: -3px;
    cursor: nesw-resize;
    left: -3px;
  }
  
  .cropper-point.point-se {
    bottom: -3px;
    cursor: nwse-resize;
    height: 20px;
    opacity: 1;
    right: -3px;
    width: 20px;
  }
  
  @media (min-width: 768px) {
    .cropper-point.point-se {
      height: 15px;
      width: 15px;
    }
  }
  
  @media (min-width: 992px) {
    .cropper-point.point-se {
      height: 10px;
      width: 10px;
    }
  }
  
  @media (min-width: 1200px) {
    .cropper-point.point-se {
      height: 5px;
      opacity: 0.75;
      width: 5px;
    }
  }
  
  .cropper-point.point-se::before {
    background-color: #39f;
    bottom: -50%;
    content: ' ';
    display: block;
    height: 200%;
    opacity: 0;
    position: absolute;
    right: -50%;
    width: 200%;
  }
  
  .cropper-invisible {
    opacity: 0;
  }
  
  .cropper-bg {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
  }
  
  .cropper-hide {
    display: block;
    height: 0;
    position: absolute;
    width: 0;
  }
  
  .cropper-hidden {
    display: none !important;
  }
  
  .cropper-move {
    cursor: move;
  }
  
  .cropper-crop {
    cursor: crosshair;
  }
  
  .cropper-disabled .cropper-drag-box,
  .cropper-disabled .cropper-face,
  .cropper-disabled .cropper-line,
  .cropper-disabled .cropper-point {
    cursor: not-allowed;
  }
  
/* =========================================================
   WormXO SkinLab 
   ========================================================= */
:root {
  --wx-bg: #050609;
  --wx-panel: rgba(13, 18, 27, .88);
  --wx-panel-soft: rgba(255, 255, 255, .055);
  --wx-cyan: #26c6da;
  --wx-cyan-light: #34e8ff;
  --wx-orange: #ff9800;
  --wx-green: #8bc34a;
  --wx-blue: #2196f3;
  --wx-text: #f4f4f5;
  --wx-muted: #a1a1aa;
  --wx-border: rgba(255,255,255,.16);
  --wx-shadow: 0 14px 38px rgba(0,0,0,.42);
}

* {box-sizing: border-box;/* TEXT-ALIGN: center; */}

html, body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--wx-bg) !important;
}

body {
  overflow-x: hidden;
  padding-bottom: 44px;
  color: #ffffff;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

/* Header */
.wormxo-header {
  position: relative;
  z-index: 20;
  width: 100%;
  margin: 0 0 30px;
}

.wormxo-header .topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 66px;
  border-top: 1px solid rgba(255,193,7,.2);
  border-bottom: 1px solid rgba(255,255,255,.24);
  background: rgb(0 0 0 / 20%);
  box-shadow: 0 4px 18px rgba(0,0,0,.6);
  backdrop-filter: blur(10px);
}

.wormxo-header .nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(860px, calc(100% - 28px));
  min-height: 66px;
  margin: 0 auto;
  padding: 8px 0;
}

.wormxo-header .brand {
  position: absolute;
  top: 50%;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 52px;
  margin: 0;
  transform: translateY(-50%);
}

.wormxo-header .brand img {
  display: block;
  width: 62px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(255,193,7,.38));
}

.wormxo-header .links11 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  margin: 0 auto;
}

.wormxo-header .links11 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  height: 36px;
  padding: 0 8px;
  color: #fff;
  background: var(--wx-cyan);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(38,198,218,.3);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: underline;
  white-space: nowrap;
  transition: .2s ease;
}

.wormxo-header .links11 a:hover {
  color: #fff;
  background: var(--wx-cyan-light);
  box-shadow: 0 5px 16px rgba(38,198,218,.46);
  transform: translateY(-2px);
}

.wormxo-header .links11 a.cta {
  background: var(--wx-orange);
  border-color: rgba(255,193,7,.68);
  box-shadow: 0 3px 12px rgba(255,152,0,.36);
  text-decoration: none;
}

.wormxo-header .links11 a.cta:hover {
  background: #f57c00;
  box-shadow: 0 5px 18px rgba(255,152,0,.5);
}

.wormxo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  overflow: hidden;



}

.wormxo-banner img {
  display: block;
  width: min(560px, 76vw);
  max-height: 218px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 7px 8px rgba(0,0,0,.62));
}

/* Main SkinLab frame */
body > .container[ng-controller="skinlabCtrl"] {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
}

body > .container[ng-controller="skinlabCtrl"] > .row:first-child {
  margin-top: 0;
}

hr {
  height: 1px;
  margin: 18px 0 24px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(38,198,218,.6), transparent);
}

h2, h3, h4 {
  color: var(--wx-text);
  font-weight: 222;
  line-height: 55px
  
}

h4 {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;


  border-radius: 5px;
  background: rgba(38,198,218,.08);
  font-size: .9rem;
}

p, li { color: var(--wx-muted); }

/* Image editor */
.docs-demo {
  margin-bottom: 16px;
  padding: 14px !important;
  overflow: hidden;
  border: 1px solid var(--wx-border) !important;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  box-shadow: var(--wx-shadow);
}

.img-container {
  width: 100%;
  min-height: 240px;
  max-height: 560px;
  padding: 12px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  background: rgba(0,0,0,.44);
}

.img-container > img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
}

/* Lower editor controls â€” separate from top navigation */
#actions {
  clear: both;
  margin: 16px 0 22px;
  padding: 14px !important;
  border: 1px solid rgba(38,198,218,.25) !important;
  border-radius: 12px;
  background: rgba(0,0,0,.22);
}

#actions .docs-buttons {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  margin: 0;
  padding: 0;
}

#actions .docs-buttons > .btn-group {
  display: inline-flex;
  gap: 4px;
  margin: 0;
}

#actions .docs-buttons > div[style*="float"] {
  float: none !important;
  flex: 1 1 260px;
  min-width: 240px;
  margin: 0 0 0 auto !important;
}

/* Buttons */
.btn,
.btn-primary,
.btn-success,
.btn-danger,
.btn-secondary,
.btn-info,
.btn-light,
.btn-outline-success,
.btn-outline-secondary {
  min-height: 40px;
  padding: 8px 13px !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 7px !important;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.2 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.btn:hover,
.btn:focus-visible {
  filter: brightness(1.12);
  box-shadow: 0 7px 18px rgba(0,0,0,.35);
  transform: translateY(-2px);
}

.btn-primary, .btn-info { background: var(--wx-cyan) !important; color: #06242a !important; }
.btn-success, .btn-outline-success { background: var(--wx-green) !important; color: #162500 !important; }
.btn-danger { background: #ef4444 !important; }
.btn-secondary, .btn-outline-secondary { background: #3f3f46 !important; }
.btn-light { background: #f4f4f5 !important; color: #18181b !important; }

.btn-upload input,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* Forms and color controls */
.form-control, .form-select, .input-group-text {
  min-height: 42px;
  color: var(--wx-text) !important;
  background: rgba(9,9,11,.78) !important;
  border: 1px solid rgba(148,163,184,.3) !important;
  border-radius: 7px !important;
}

.form-control::placeholder { color: #71717a; }
.form-control:focus, .form-select:focus { border-color: var(--wx-cyan) !important; box-shadow: 0 0 0 .2rem rgba(38,198,218,.16) !important; }

.input-group-text { justify-content: center; min-width: 44px; }

.dropdown-menu {
  padding: 7px;
  border: 1px solid rgba(38,198,218,.35) !important;
  border-radius: 9px;
  background: #111827 !important;
  box-shadow: var(--wx-shadow);
}

.dropdown-item { color: var(--wx-text) !important; border-radius: 6px; }
.dropdown-item:hover { color: #fff !important; background: rgba(38,198,218,.2) !important; }

/* Results and skin list */
#result_skinlab,
#result_skinlab2 {
  min-height: 230px;
  padding: 24px 14px !important;
  overflow: hidden;
  color: #fff !important;
  border: 2px solid var(--wx-cyan) !important;
  border-radius: 15px;
  background: linear-gradient(rgba(0,0,0,.64), rgba(0,0,0,.64)), url('/image/bkgnd0.png') center / cover !important;
  box-shadow: var(--wx-shadow);
}

[ng-repeat="skin in skinList track by skin.id"] {
  margin-top: 10px !important;
  padding: 12px !important;
  overflow: hidden;
  border: 1px solid rgba(38,198,218,.35);
  border-radius: 12px;
  background: rgba(0,0,0,.38);
}

[ng-repeat="skin in skinList track by skin.id"] img { display: block; border-radius: 8px; }

/* Cropper accent */
.cropper-view-box { outline-color: rgba(38,198,218,.9); }
.cropper-line, .cropper-point { background-color: var(--wx-cyan); }

@media (max-width: 820px) {
  .wormxo-header .nav { width: calc(100% - 18px); }
  .wormxo-header .brand { width: 58px; }
  .wormxo-header .brand img { width: 52px; height: 46px; }
  .wormxo-header .links11 { gap: 4px; width: calc(100% - 58px); margin-left: 58px; }
  .wormxo-header .links11 a { flex: 1 1 0; width: auto; min-width: 0; padding: 0 4px; font-size: 9px; }
  #actions .docs-buttons > .btn-group, #actions .docs-buttons > div[style*="float"] { flex: 1 1 100%; width: 100%; }
  #actions .docs-buttons > .btn-group .btn { flex: 1 1 0; }
}

@media (max-width: 560px) {
  .wormxo-header .topbar, .wormxo-header .nav { min-height: 58px; }
  .wormxo-header .nav { padding: 5px 0; }
  .wormxo-header .brand { width: 44px; }
  .wormxo-header .brand img { width: 42px; height: 40px; }
  .wormxo-header .links11 { gap: 3px; width: calc(100% - 48px); margin-left: 48px; }
  .wormxo-header .links11 a { height: 32px; padding: 0 2px; font-size: 7px; }
  .wormxo-banner { min-height: 135px; }
  .wormxo-banner img { width: 86vw; max-height: 112px; }
  body > .container[ng-controller="skinlabCtrl"] { width: calc(100% - 20px); }
}


/* ===== WormXO animated canvas background ===== */
html, body {
  background: #050609 !important;
}

#wormxo-bg {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw !important;
  height: 100vh !important;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
  pointer-events: none;
  background: #90a1d400;
}

body > *:not(#wormxo-bg) {
  position: relative;
  z-index: 1;
}

.wormxo-header,
body > .container[ng-controller="skinlabCtrl"] {
  position: relative;
  z-index: 2;
}
footer {
  background-color: #4343436b;
  border-top: 1px solid #34343c;
  margin-top: 3rem;
  /* WIDTH: 243435346434PX; */
  padding: -10rem 0 1.5rem;
}

.foot {
  max-width: 10000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-section h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-logo {
  width: 60px;
}

.footer-section a {
  display: block;
  color: #acacac;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.footer-section a:hover {
  color: #ffffff;
  padding-left: 0;
}

.socials {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  background-color: var(--bg-dark);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.social-icon:hover {
  border-color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #ffffff;
}

.footer-mail {
  color: var(--text-main);
}

.footer-mail:hover {
  color: #111;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .links {
    display: none;
  }
  .burger {
    display: flex;
  }
  .features-grid, .footer-content {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 2.1rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


.hero {
  display: block;
  width: min(940px, calc(100% - 28px));
  margin: 28px auto 40px;
  padding: 0;
}

.content-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 0;
  padding: 24px 28px 28px;
  border: 0;
  border-radius: 24px;
  background: rgb(255 0 0);
  box-shadow: 0 16px 45px rgb(201 0 0);
  text-align: center;
}

.hero-brand-image {
  display: block;
  width: min(100%, 700px);
  max-height: 220px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 12px rgb(0 0 0));
}

.hero-badge {
  margin: 0 auto;
}

.lead {
  max-width: 715px;
  margin: -19px auto 0;
  text-align: center;
}

.btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.panel {
  left: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  border: 0;
  border-radius: 24px;
  background: #00000000;
  box-shadow: none;
}

@media (max-width: 768px) {
  .hero {
    width: calc(100% - 20px);
    margin-top: 22px;
  }

  .content-panel {
    padding: 20px 14px 24px;
    border-radius: 18px;
  }

  .hero-brand-image {
    width: 100%;
    max-height: 145px;
  }

  .lead {
    font-size: 0.82rem;
  }

  .btns {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}


html {
  min-height: 100%;
  background: #ffffff;
}

body {
  position: relative;
  min-width: 0;
  min-height: 100vh;
  background: #ffffff00;
  overflow-x: hidden;
}

#wormxo-bg {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw !important;
  height: 100vh !important;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
  pointer-events: none;
}

.topbar,
.hero,
main,
footer {
  position: relative;
  z-index: 1;
}
html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > footer,
footer {
  width: 100%;
  margin-top: auto;
  margin-bottom: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}

footer .foot {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* إزالة الفراغ بعد الفوتر */
body {
  padding-bottom: 0 !important;
}

footer:last-child {
  margin-bottom: 0 !important;
}
/* ===== WormXO Full Width Footer ===== */

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
}

footer {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 3rem;
  margin-bottom: 0;
  box-sizing: border-box;

  background-color: #4343436b;
  border-top: 1px solid #34343c;
  padding: 0 0 1.5rem;
}

.foot {
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #ffffff;
}

@media (max-width: 768px) {
  .foot {
    padding: 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}