.elementor-878 .elementor-element.elementor-element-733f40f{--display:flex;--margin-top:-25px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-878 .elementor-element.elementor-element-733f40f:not(.elementor-motion-effects-element-type-background), .elementor-878 .elementor-element.elementor-element-733f40f > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#70C98B;}/* Start custom CSS for html, class: .elementor-element-5285a21 *//* ============================================================
   PROJECT: Cipher — SH Password (Password Strength Checker)
   PLACE THIS INSIDE: Elementor Custom CSS (page/section) or Global CSS
   All .elementor-878 .elementor-element.elementor-element-5285a21s namespaced under .cipher-widget.
   Theme controlled via [data-cipher-theme="light|dark"] on the root.
   ============================================================ */

.cipher-widget {
  /* ---------- LIGHT THEME (default) ---------- */
  --cipher-bg-page: #f2faf4;
  --cipher-bg-card: #ffffff;
  --cipher-border: #d9ede1;
  --cipher-text: #123524;
  --cipher-muted: #5c8570;
  --cipher-accent: #2f9e5b;
  --cipher-accent-2: #57c785;
  --cipher-accent-soft: #e3f6ea;
  --cipher-weak: #e15b4d;
  --cipher-fair: #e2a233;
  --cipher-good: #3ab77b;
  --cipher-strong: #1f8a4d;
  --cipher-shadow: rgba(31, 138, 77, 0.14);
  --cipher-blob-1: #b7ecc9;
  --cipher-blob-2: #d5f5df;
  --cipher-blob-3: #8fe0ae;

  position: relative;
  font-family: inherit;
  direction: rtl;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 20px;
  overflow: hidden;
  background: var(--cipher-bg-page);
  transition: background-color 0.4s ease;
}

.cipher-widget[data-cipher-theme="dark"] {
  --cipher-bg-page: #0e1f16;
  --cipher-bg-card: #14291d;
  --cipher-border: #1f3d2b;
  --cipher-text: #eafaf0;
  --cipher-muted: #8fb89f;
  --cipher-accent: #34d17e;
  --cipher-accent-2: #6fe3a3;
  --cipher-accent-soft: #1c3826;
  --cipher-weak: #ff6b5b;
  --cipher-fair: #f2b84a;
  --cipher-good: #3fd085;
  --cipher-strong: #2fe08a;
  --cipher-shadow: rgba(0, 0, 0, 0.35);
  --cipher-blob-1: #123a26;
  --cipher-blob-2: #0f2c1c;
  --cipher-blob-3: #1a4a2e;
}

.cipher-widget *,
.cipher-widget *::before,
.cipher-widget *::after {
  box-sizing: border-box;
}

/* ---------- Animated background blobs ---------- */
.cipher-bg-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.cipher-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: cipher-float 12s ease-in-out infinite;
}

.cipher-blob-1 {
  width: 180px;
  height: 180px;
  background: var(--cipher-blob-1);
  top: -60px;
  right: -40px;
  animation-duration: 14s;
}

.cipher-blob-2 {
  width: 140px;
  height: 140px;
  background: var(--cipher-blob-2);
  bottom: -40px;
  left: -30px;
  animation-duration: 18s;
  animation-delay: -4s;
}

.cipher-blob-3 {
  width: 100px;
  height: 100px;
  background: var(--cipher-blob-3);
  top: 40%;
  left: 60%;
  animation-duration: 16s;
  animation-delay: -8s;
}

@keyframes cipher-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(14px, -18px) scale(1.08); }
  66% { transform: translate(-12px, 14px) scale(0.95); }
}

/* ---------- Entrance animation keyframes ---------- */
@keyframes cipher-shell-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cipher-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cipher-pop-in {
  0% { opacity: 0; transform: scale(0.5) rotate(-12deg); }
  70% { opacity: 1; transform: scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes cipher-check-pop {
  0% { transform: scale(0.7); }
  55% { transform: scale(1.22); }
  100% { transform: scale(1); }
}

/* ---------- Shell ---------- */
.cipher-shell {
  position: relative;
  z-index: 1;
  padding: 18px 20px 20px;
  animation: cipher-shell-in 0.5s ease both;
}

/* ---------- Header ---------- */
.cipher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  animation: cipher-fade-up 0.5s ease both;
  animation-delay: 0.02s;
}

.cipher-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  color: var(--cipher-text);
}

.cipher-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--cipher-border);
  background: var(--cipher-bg-card);
  color: var(--cipher-accent);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, border-color 0.25s ease;
}

.cipher-theme-toggle:hover {
  transform: rotate(18deg) scale(1.08);
  border-color: var(--cipher-accent);
}

.cipher-theme-toggle svg {
  width: 18px;
  height: 18px;
}

.cipher-theme-toggle.cipher-toggle-spin svg {
  animation: cipher-spin-in 0.4s ease;
}

@keyframes cipher-spin-in {
  from { transform: rotate(-90deg) scale(0.6); opacity: 0; }
  to { transform: rotate(0) scale(1); opacity: 1; }
}

/* ---------- Card ---------- */
.cipher-card {
  background: var(--cipher-bg-card);
  border: 1px solid var(--cipher-border);
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: 0 10px 32px var(--cipher-shadow);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  animation: cipher-fade-up 0.55s ease both;
  animation-delay: 0.06s;
}

/* ---------- Card head / badge icon ---------- */
.cipher-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  animation: cipher-fade-up 0.5s ease both;
  animation-delay: 0.1s;
}

.cipher-badge-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cipher-accent), var(--cipher-accent-2));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--cipher-accent) 40%, transparent);
  animation: cipher-pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both, cipher-pulse 3s ease-in-out 0.6s infinite;
}

.cipher-badge-icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

@keyframes cipher-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.cipher-title {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  color: var(--cipher-text);
}

.cipher-subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--cipher-muted);
}

/* ---------- Input ---------- */
.cipher-input-group {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  animation: cipher-fade-up 0.5s ease both;
  animation-delay: 0.16s;
}

.cipher-input {
  width: 100%;
  padding: 12px 44px 12px 14px;
  font-size: 15px;
  border: 1.5px solid var(--cipher-border);
  border-radius: 10px;
  outline: none;
  color: var(--cipher-text);
  background: var(--cipher-accent-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  direction: ltr;
  text-align: right;
}

.cipher-input:focus {
  border-color: var(--cipher-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cipher-accent) 18%, transparent);
}

.cipher-toggle-visibility {
  position: absolute;
  left: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cipher-muted);
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.cipher-toggle-visibility:hover {
  color: var(--cipher-accent);
  background: var(--cipher-accent-soft);
  transform: scale(1.08);
}

.cipher-toggle-visibility svg {
  width: 18px;
  height: 18px;
}

/* ---------- Strength bar ---------- */
.cipher-strength-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  animation: cipher-fade-up 0.5s ease both;
  animation-delay: 0.2s;
}

.cipher-strength-badge {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cipher-accent-soft);
  color: var(--cipher-good);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
}

.cipher-strength-badge.cipher-strength-badge-show {
  opacity: 1;
  transform: scale(1);
  background: color-mix(in srgb, var(--cipher-good) 18%, var(--cipher-accent-soft));
  animation: cipher-check-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cipher-strength-badge svg {
  width: 15px;
  height: 15px;
}

.cipher-strength-track {
  width: 100%;
  height: 11px;
  border-radius: 6px;
  background: var(--cipher-accent-soft);
  overflow: hidden;
  margin-bottom: 6px;
  animation: cipher-fade-up 0.5s ease both;
  animation-delay: 0.24s;
}

.cipher-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: var(--cipher-weak);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s ease;
  background-image: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  background-size: 200% 100%;
  animation: cipher-shine 2.4s linear infinite;
}

@keyframes cipher-shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.cipher-strength-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--cipher-muted);
  transition: color 0.25s ease;
}

/* ---------- Crack time ---------- */
.cipher-crack-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--cipher-muted);
  background: var(--cipher-accent-soft);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 16px;
  animation: cipher-fade-in 0.3s ease;
}

@keyframes cipher-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.cipher-crack-icon {
  font-size: 14px;
}

/* ---------- Requirements heading ---------- */
.cipher-requirements-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  animation: cipher-fade-up 0.5s ease both;
  animation-delay: 0.28s;
}

.cipher-requirements-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cipher-text);
}

.cipher-info-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--cipher-border);
  color: var(--cipher-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: default;
}

/* ---------- Checklist ---------- */
.cipher-checklist {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(6px, 2vw, 10px);
}

.cipher-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(12px, 3.2vw, 13.5px);
  color: var(--cipher-muted);
  background: var(--cipher-accent-soft);
  border: 1px solid var(--cipher-border);
  border-radius: 12px;
  padding: clamp(8px, 2.2vw, 11px) clamp(9px, 2.5vw, 12px);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  animation: cipher-fade-up 0.5s ease both;
}

.cipher-rule:nth-child(1) { animation-delay: 0.32s; }
.cipher-rule:nth-child(2) { animation-delay: 0.36s; }
.cipher-rule:nth-child(3) { animation-delay: 0.4s; }
.cipher-rule:nth-child(4) { animation-delay: 0.44s; }
.cipher-rule:nth-child(5) { animation-delay: 0.48s; }

.cipher-rule:last-child {
  grid-column: 1 / -1;
}

.cipher-rule-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--cipher-border);
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: var(--cipher-bg-card);
}

.cipher-check-svg {
  width: 12px;
  height: 12px;
  color: #fff;
}

.cipher-check-svg path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.35s ease 0.05s;
}

.cipher-rule.cipher-rule-valid {
  color: var(--cipher-text);
  border-color: color-mix(in srgb, var(--cipher-good) 35%, var(--cipher-border));
}

.cipher-rule.cipher-rule-valid .cipher-rule-icon {
  background: var(--cipher-good);
  border-color: var(--cipher-good);
  animation: cipher-check-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cipher-rule.cipher-rule-valid .cipher-check-svg path {
  stroke-dashoffset: 0;
}

/* ---------- Tip row ---------- */
.cipher-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--cipher-muted);
  padding-top: 12px;
  margin-bottom: 18px;
  border-top: 1px solid var(--cipher-border);
  animation: cipher-fade-up 0.5s ease both;
  animation-delay: 0.52s;
}

.cipher-tip-icon {
  flex-shrink: 0;
  font-size: 13px;
}

/* ---------- Actions ---------- */
.cipher-actions {
  display: flex;
  gap: 10px;
  animation: cipher-fade-up 0.5s ease both;
  animation-delay: 0.56s;
}

.cipher-btn {
  flex: 1;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.12s ease, filter 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cipher-btn:active {
  transform: scale(0.96);
}

.cipher-btn-primary {
  background: linear-gradient(135deg, var(--cipher-accent), var(--cipher-accent-2));
  color: #fff;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--cipher-accent) 35%, transparent);
}

.cipher-btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--cipher-accent) 45%, transparent);
  transform: translateY(-1px);
}

.cipher-btn-secondary {
  background: var(--cipher-accent-soft);
  color: var(--cipher-text);
  border-color: var(--cipher-border);
}

.cipher-btn-secondary:hover {
  background: var(--cipher-border);
  transform: translateY(-1px);
}

/* ---------- Toast ---------- */
.cipher-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--cipher-text);
  color: var(--cipher-bg-card);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
}

.cipher-toast.cipher-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Footer ---------- */
.cipher-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--cipher-muted);
  animation: cipher-fade-up 0.5s ease both;
  animation-delay: 0.6s;
}

.cipher-footer-link {
  font-weight: 700;
  color: var(--cipher-accent);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.cipher-footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--cipher-accent);
  transition: width 0.25s ease;
}

.cipher-footer-link:hover {
  color: var(--cipher-accent-2);
}

.cipher-footer-link:hover::after {
  width: 100%;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .cipher-card {
    padding: 18px 14px;
  }
  .cipher-actions {
    flex-direction: column;
  }
  .cipher-shell {
    padding: 16px 14px 18px;
  }
  .cipher-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
  .cipher-badge-icon svg {
    width: 21px;
    height: 21px;
  }
  .cipher-checklist {
    gap: 6px;
  }
}/* End custom CSS */