/* ---------- Action selector ---------- */
.fu-action-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fu-action-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fu-action-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin: 0;
  background: #fff;
  border: 1.5px solid #e2dbe5;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
  user-select: none;
}

.fu-action-card:hover {
  border-color: #b9a3bf;
}

.fu-action-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f4f0f5;
  color: #7a6a7e;
  transition: background-color .15s, color .15s;
}

.fu-action-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.fu-action-text strong {
  font-size: 15px;
  font-weight: 600;
  color: #2d2230;
}

.fu-action-text small {
  font-size: 12px;
  color: #8a7f8d;
}

/* Check circle (top-right) */
.fu-action-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #d3c9d6;
  background: #fff;
  transition: all .15s;
}

/* ---------- Selected: Freeze ---------- */
.fu-action-input:checked + .fu-freeze {
  border-color: #d64545;
  background: #fdf3f3;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, .12);
}
.fu-action-input:checked + .fu-freeze .fu-action-icon {
  background: #d64545;
  color: #fff;
}
.fu-action-input:checked + .fu-freeze .fu-action-check {
  border-color: #d64545;
  background: #d64545 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Selected: Unfreeze ---------- */
.fu-action-input:checked + .fu-unfreeze {
  border-color: #2e9d5b;
  background: #f1faf4;
  box-shadow: 0 0 0 3px rgba(46, 157, 91, .12);
}
.fu-action-input:checked + .fu-unfreeze .fu-action-icon {
  background: #2e9d5b;
  color: #fff;
}
.fu-action-input:checked + .fu-unfreeze .fu-action-check {
  border-color: #2e9d5b;
  background: #2e9d5b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Keyboard focus */
.fu-action-input:focus-visible + .fu-action-card {
  outline: 2px solid #7b3b83;
  outline-offset: 2px;
}

/* ---------- Inputs ---------- */
#clientVerificationModal .fu-input,
#otpModal .fu-input {
  height: 46px;
  padding: 10px 14px;
  font-size: 15px;
  background: #fff !important;
  border: 1.5px solid #e2dbe5 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

#clientVerificationModal .fu-input:focus,
#otpModal .fu-input:focus {
  border-color: #7b3b83 !important;
  box-shadow: 0 0 0 3px rgba(123, 59, 131, .15) !important;
  outline: none;
}

#otpModal #otp {
  text-align: center;
  letter-spacing: 12px;
  font-size: 22px;
  font-weight: 600;
}
#clientVerificationModal input[type="text"],
#clientVerificationModal input[type="password"] {
    border: 1px solid #ddd !important;
}

#otpModal input {
    border: 1px solid #ddd !important;
}
/* ---------- Mobile ---------- */
@media (max-width: 400px) {
  .fu-action-text small { display: none; }
  .fu-action-card { padding: 10px; }
}