
.wpeye{
  --primary:#5B8591;
  --accent:#B2DDE2;
  --text:#0f1c20;
  --muted:#5b6b72;
  --card:#ffffff;
  --border: rgba(15,28,32,.10);

  font-family: "Montserrat Arabic","Montserrat",Arial,sans-serif;
  color: var(--text);
  direction: rtl;
  text-align: right;

  max-width: 920px;
  margin: 28px auto;
  padding: 0 14px;
}

.wpeye *{ box-sizing:border-box; }

.wpeye-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.wpeye-head{
  text-align: center;
  margin-bottom: 14px;
}
.wpeye-title{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.wpeye-title-sm{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.wpeye-subtitle{
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.wpeye-form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
  margin-top: 10px;
}
.wpeye-field{ display:grid; gap: 6px; }
.wpeye-label{ font-size: 14px; color: var(--text); font-weight: 700; }
.wpeye-select{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: none;
}
.wpeye-select:focus{ border-color: rgba(91,133,145,.55); box-shadow: 0 0 0 3px rgba(178,221,226,.45); }

.wpeye-btn{
  grid-column: 1 / -1;
  justify-self: center;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  min-width: 160px;
}
.wpeye-btn:hover{ filter: brightness(.98); }
.wpeye-btn:active{ transform: scale(.99); }

.wpeye-btn-ghost{
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(91,133,145,.35);
  min-width: auto;
  padding: 10px 14px;
  border-radius: 12px;
}

.wpeye-note{
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(178,221,226,.35);
  border: 1px solid rgba(178,221,226,.55);
  color: var(--text);
  font-size: 13px;
  line-height: 1.8;
}
.wpeye-note span{ font-weight: 900; color: var(--primary); }

.wpeye-bar{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.wpeye-badge{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(178,221,226,.35);
  border: 1px solid rgba(178,221,226,.55);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.wpeye-instructions{
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  background: #fff;
  margin-bottom: 14px;
}
.wpeye-inst-title{
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}
.wpeye-instructions ul{
  margin: 0;
  padding-right: 18px;
  line-height: 1.9;
  color: var(--text);
}

.wpeye-board{
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 520px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #fff;
  overflow:hidden;
}

.wpeye-e{
  font-weight: 900;
  line-height: 1;
  transform-origin: center;
  user-select: none;
  color: #000;
}

.wpeye-arrow{
  position:absolute;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 0;
  cursor:pointer;
  background: var(--primary);
  color:#fff;
  font-size: 26px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 8px 20px rgba(15,28,32,.12);
}
.wpeye-arrow:active{ transform: scale(.98); }

.wpeye-arrow.up{ top: 18px; left: 50%; transform: translateX(-50%); }
.wpeye-arrow.down{ bottom: 18px; left: 50%; transform: translateX(-50%); }
.wpeye-arrow.left{ left: 18px; top: 50%; transform: translateY(-50%); }
.wpeye-arrow.right{ right: 18px; top: 50%; transform: translateY(-50%); }

.wpeye-score{
  margin-top: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  direction: ltr; /* keep 6/60 readable */
  text-align: center;
}

.wpeye-result-text{
  margin-top: 8px;
  line-height: 2;
  color: var(--text);
  font-size: 14px;
  text-align: center;
  padding: 0 10px;
}

.wpeye-actions{ text-align:center; margin-top: 14px; }

@media (max-width: 720px){
  .wpeye-form{ grid-template-columns: 1fr; }
  .wpeye-board{ min-height: 440px; }
  .wpeye-arrow{ width: 48px; height: 48px; border-radius: 12px; }
}
