.sms-modal.modal {
  background: transparent !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transition: none !important;
}

.sms-modal {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: none;
  overflow: hidden auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #212529;
}

.sms-modal.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.sms-modal.show {
  display: block;
}

.sms-modal.fade.show {
  opacity: 1;
}

.sms-modal .modal-dialog {
  width: calc(100% - 24px);
  margin: 12px auto;
  position: relative;
  pointer-events: none;
}

.sms-modal .modal-dialog.modal-dialog-centered {
  min-height: calc(100% - 24px);
  display: flex;
  align-items: center;
}

.sms-modal .modal-content {
  width: 100%;
  pointer-events: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(34, 37, 47, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.sms-modal .modal-header,
.sms-modal .modal-body,
.sms-modal .modal-footer {
  padding: 16px;
}

.sms-modal .modal-header {
  position: relative;
}

.sms-modal .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.sms-modal .modal-title {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
}

.sms-modal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  color: inherit;
  background: #e9ecef;
}

.sms-modal .btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.sms-modal .btn-link {
  background: transparent;
  border-color: transparent;
  padding: 0;
  font-weight: 500;
}

.sms-modal .btn-outline-secondary {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.2);
}

.sms-modal .btn-primary {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

.sms-modal .form-control {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 20px;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
}

.sms-modal .form-control:focus {
  border-color: rgba(13, 110, 253, 0.5);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.sms-modal .alert {
  padding: 12px 14px;
  border-radius: 6px;
}

.sms-modal .btn-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  opacity: 0.8;
}

.sms-modal .btn-close.position-absolute {
  position: absolute;
  top: 15px;
  right: 15px;
}

.sms-modal .btn-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}

.sms-modal .btn-close::before,
.sms-modal .btn-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #333;
  transform-origin: center;
}

.sms-modal .btn-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.sms-modal .btn-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.sms-modal .text-center {
  text-align: center;
}

.sms-modal .position-absolute {
  position: absolute;
}

.sms-modal .w-100 {
  width: 100%;
}

.sms-modal .d-flex {
  display: flex;
}

.sms-modal .flex-fill {
  flex: 1 1 auto;
}

.sms-modal .align-items-center {
  align-items: center;
}

.sms-modal .justify-content-between {
  justify-content: space-between;
}

.sms-modal .justify-content-end {
  justify-content: flex-end;
}

.sms-modal .p-0 {
  padding: 0;
}

.sms-modal .mb-0 {
  margin-bottom: 0;
}

.sms-modal .mb-3 {
  margin-bottom: 16px;
}

.sms-modal .mb-4 {
  margin-bottom: 24px;
}

.sms-modal .mt-1 {
  margin-top: 4px;
}

.sms-modal .mt-3 {
  margin-top: 16px;
}

.sms-modal .me-1 {
  margin-right: 4px;
}

.sms-modal .me-3 {
  margin-right: 16px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
}
