.callreq-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.callreq-modal.is-open {
  display: block;
}

.callreq-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
}

.callreq-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 24px));
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(8, 13, 28, 0.98);
  box-shadow: 0 24px 60px rgba(2, 8, 23, 0.6);
  overflow: hidden;
}

.callreq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.callreq-head strong {
  font-size: 15px;
}

.callreq-head button {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  cursor: pointer;
}

.callreq-form {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.callreq-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.callreq-grid.single {
  grid-template-columns: 1fr;
}

.callreq-form input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.86);
  color: #fff;
  color-scheme: dark;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
}

.callreq-form input[type="date"],
.callreq-form input[type="time"] {
  color: #ffffff;
  font-weight: 600;
  padding-right: 38px;
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.callreq-form input[type="date"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}

.callreq-form input[type="time"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='12 7 12 12 15 14'/%3E%3C/svg%3E");
}

.callreq-form input[type="date"]::-webkit-calendar-picker-indicator,
.callreq-form input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0 !important;
  background-color: transparent !important;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.callreq-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.callreq-status {
  margin-top: 2px;
  font-size: 13px;
  color: #cbd5e1;
}

.callreq-status.success {
  color: #86efac;
}

.callreq-status.error {
  color: #fca5a5;
}

@media (max-width: 640px) {
  .callreq-grid {
    grid-template-columns: 1fr;
  }
}
