.snip-apk-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 20px 35px rgb(15 23 42 / 0.12);
}

.snip-apk-header {
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  background: var(--color-primary, #2d2e83);
}

.snip-apk-header h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
}

.snip-apk-header p {
  margin: .25rem 0 0;
  color: rgb(219 234 254);
  font-size: .875rem;
}

.snip-apk-body {
  padding: 1.5rem;
}

.snip-apk-step-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.snip-apk-steps {
  display: flex;
  align-items: center;
  justify-content: center;
}

.snip-apk-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: .875rem;
  font-weight: 800;
}

.snip-apk-step.is-active {
  background: var(--color-primary, #2d2e83);
  color: #fff;
  box-shadow: 0 6px 16px rgb(45 46 131 / .22);
  transform: scale(1.05);
}

.snip-apk-step-line {
  width: 2rem;
  height: .25rem;
  margin: 0 .5rem;
  border-radius: 99px;
  background: #f3f4f6;
}

.snip-apk-week-btn {
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  background: #fff;
  color: var(--color-primary, #2d2e83);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.snip-apk-week-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.snip-apk-alert {
  margin-bottom: 1rem;
  padding: .75rem .875rem;
  border: 1px solid #fecaca;
  border-radius: .75rem;
  background: #fef2f2;
  color: #991b1b;
  font-size: .875rem;
  font-weight: 600;
}

.snip-apk-loading,
.snip-apk-empty {
  color: var(--color-muted, #7a7979);
  font-size: .95rem;
}

.snip-apk-panel {
  display: grid;
  gap: 1rem;
}

.snip-apk-day-rail {
  display: flex;
  gap: .5rem;
  margin: 0 -1.5rem .25rem;
  padding: 0 1.5rem .5rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.snip-apk-day-rail .snip-apk-day:first-child {
  margin-left: 1.5rem;
  scroll-margin-left: 1.5rem;
}

.snip-apk-day {
  flex: 0 0 4.8rem;
  min-height: 5.8rem;
  padding: .65rem .45rem;
  border: 0;
  border-radius: .75rem;
  background: #f9fafb;
  color: var(--color-text, #252221);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: center;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.snip-apk-day span,
.snip-apk-day small,
.snip-apk-day em {
  display: block;
}

.snip-apk-day span {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.snip-apk-day strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.15;
}

.snip-apk-day small {
  color: inherit;
  font-size: .7rem;
  opacity: .75;
}

.snip-apk-day em {
  margin-top: .2rem;
  font-size: .65rem;
  font-style: normal;
}

.snip-apk-day.is-selected {
  background: var(--color-primary, #2d2e83);
  color: #fff;
  box-shadow: 0 8px 18px rgb(45 46 131 / .24);
  transform: translateY(-1px);
}

.snip-apk-day:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.snip-apk-slots {
  display: grid;
  gap: .75rem;
}

.snip-apk-slots p {
  margin: .25rem 0 0;
  color: var(--color-text, #252221);
  font-weight: 800;
}

.snip-apk-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  border: 2px solid #f3f4f6;
  border-radius: .875rem;
  background: #fff;
  color: var(--color-text, #252221);
  cursor: pointer;
  text-align: left;
}

.snip-apk-slot:hover,
.snip-apk-slot.is-selected {
  border-color: var(--color-accent, #dbeafe);
}

.snip-apk-slot span {
  font-weight: 700;
}

.snip-apk-slot small {
  padding: .25rem .5rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}

.snip-apk-panel label {
  display: grid;
  gap: .35rem;
  color: var(--color-text, #252221);
  font-weight: 800;
}

.snip-apk-panel label span {
  color: var(--color-muted, #7a7979);
  font-size: .75rem;
  font-weight: 600;
}

.snip-apk-panel input,
.snip-apk-panel textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: .75rem .85rem;
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  background: #fff;
  color: var(--color-text, #252221);
  font: inherit;
  font-weight: 500;
}

.snip-apk-panel textarea {
  resize: vertical;
}

.snip-apk-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.snip-apk-summary {
  display: grid;
  gap: .5rem;
  padding: 1rem;
  border-radius: .875rem;
  background: #f9fafb;
}

.snip-apk-summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-text, #252221);
}

.snip-apk-summary span {
  color: var(--color-muted, #7a7979);
}

.snip-apk-summary strong {
  text-align: right;
}

.snip-apk-actions {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  margin-top: .5rem;
}

.snip-apk-primary,
.snip-apk-secondary {
  min-height: 2.85rem;
  padding: .75rem 1.25rem;
  border: 0;
  border-radius: .75rem;
  cursor: pointer;
  font-weight: 800;
}

.snip-apk-primary {
  background: var(--color-primary, #2d2e83);
  color: #fff;
}

.snip-apk-secondary {
  background: #f3f4f6;
  color: var(--color-text, #252221);
}

.snip-apk-primary:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

.snip-apk-success {
  display: grid;
  gap: .75rem;
  justify-items: center;
  text-align: center;
}

.snip-apk-success-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 1.5rem;
  font-weight: 900;
}

.snip-apk-success h4 {
  margin: 0;
  color: var(--color-text, #252221);
  font-size: 1.2rem;
}

.snip-apk-success p {
  margin: 0;
  color: var(--color-muted, #7a7979);
}

@media (min-width: 768px) {
  .snip-apk-week-btn {
    display: inline-flex !important;
  }

  .snip-apk-day-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin: 0 0 .25rem;
    padding: 0;
    overflow: visible;
  }

  .snip-apk-day {
    flex-basis: auto;
  }

  .snip-apk-day-rail .snip-apk-day:first-child {
    margin-left: 0;
    scroll-margin-left: 0;
  }
}

.snip-home-v1 .snip-apk-card button {
  background-image: none !important;
  box-shadow: none;
  font: inherit;
  text-transform: none;
}

.snip-home-v1 .snip-apk-card button:is(:hover, :focus, :active) {
  color: inherit;
}

.snip-home-v1 .snip-apk-day:is(:hover, :focus, :active) {
  background-color: #f9fafb !important;
  color: var(--color-text, #252221) !important;
}

.snip-home-v1 .snip-apk-day.is-selected:is(:hover, :focus, :active) {
  background-color: var(--color-primary, #2d2e83) !important;
  color: #fff !important;
}

.snip-home-v1 .snip-apk-slot:is(:hover, :focus, :active),
.snip-home-v1 button.bg-white:is(:hover, :focus, :active) {
  background-color: #fff !important;
  color: var(--color-text, #252221) !important;
}

.snip-home-v1 .snip-apk-primary:is(:hover, :focus, :active) {
  background-color: var(--color-primary, #2d2e83) !important;
  color: #fff !important;
}

.snip-home-v1 .snip-apk-primary:disabled:is(:hover, :focus, :active) {
  background-color: #e5e7eb !important;
  color: #9ca3af !important;
}

.snip-home-v1 .snip-apk-secondary:is(:hover, :focus, :active),
.snip-home-v1 button.hover\:bg-gray-100:hover {
  background-color: rgb(243 244 246) !important;
  color: var(--color-text, #252221) !important;
}

.snip-home-v1 .snip-apk-week-btn:is(:hover, :focus, :active) {
  background-color: #fff !important;
  color: var(--color-primary, #2d2e83) !important;
}

.snip-home-v1 .service-toggle:is(:hover, :focus, :active) {
  background: transparent !important;
  color: var(--color-primary) !important;
}

.elementor .snip-home-v1 .shadow-lg,
.elementor .snip-home-v1 .shadow-xl {
  box-shadow:
    var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000),
    var(--tw-shadow) !important;
}
