/* OttoCare PHONE module — every rule scoped to .oc-phone */
.oc-phone, .oc-phone * { box-sizing: border-box; }

.oc-phone {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  overflow: hidden;
  background: #000;
  font-family: 'DM Sans', sans-serif;
}

.oc-phone .rewards-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  overflow: hidden;
}

/* ── NO PHONE SELECTED SCREEN ── */
.oc-phone .no-phone-screen {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 48px 20px 40px;
  background-color: #07173e;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.oc-phone .no-phone-screen::-webkit-scrollbar { display: none; }
.oc-phone .no-phone-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.oc-phone .no-phone-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center 35%, rgba(6, 17, 45, 0.15) 0%, rgba(2, 6, 18, 0.75) 100%);
  pointer-events: none;
  z-index: 0;
}

.oc-phone .prompt-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.oc-phone .prompt-logo {
  width: 235px;
  max-width: 68%;
  height: auto;
  object-fit: contain;
  margin-top: 14px;
  margin-bottom: 22px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
}

.oc-phone .prompt-instruction {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 1.45;
  max-width: 270px;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.oc-phone .prompt-digit-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5px;
  width: 100%;
  max-width: 320px;
  margin-bottom: 26px;
  cursor: pointer;
}

.oc-phone .digit-box {
  width: 23px;
  height: 37px;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  border-radius: 9px;
  background: rgba(4, 11, 30, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  user-select: none;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.oc-phone .digit-box.filled {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}
.oc-phone .digit-box.active {
  border-color: #c9a84c;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.4);
}

.oc-phone .digit-dash {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  font-weight: 700;
  margin: 0 1px;
  user-select: none;
}

.oc-phone .prompt-or-text {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.oc-phone .prompt-numbers-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.oc-phone .prompt-number-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s, transform 0.1s, border-color 0.15s;
}
.oc-phone .prompt-number-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(201, 168, 76, 0.4);
  color: #c9a84c;
  transform: translateY(-1px);
}

/* the real input sits invisibly over the digit boxes: a tap opens the keypad */
.oc-phone .prompt-phone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  font-size: 16px; /* stops iOS zooming on focus */
  cursor: pointer;
}

.oc-phone .prompt-samples { display: contents; }
.oc-phone .prompt-samples[hidden] { display: none; }
