#jtrebrand-modal .modal-dialog {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 60px);
  max-width: 520px;
  margin: 30px auto;
}

#jtrebrand-modal .modal-content {
  border: none;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  width: 100%;
  background-color: #1a1a1a;
}

#jtrebrand-modal .modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

#jtrebrand-modal .modal-header .close {
  color: #999;
  opacity: 0.8;
  text-shadow: none;
}

#jtrebrand-modal .modal-header .close:hover {
  color: #fff;
  opacity: 1;
}

#jtrebrand-modal .modal-body {
  padding: 10px 30px 20px;
}

#jtrebrand-modal .jtrebrand-logo {
  display: block;
  max-width: 180px;
  height: auto;
  margin: 0 auto 20px;
}

#jtrebrand-modal .jtrebrand-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f0f0f0;
  margin-bottom: 15px;
}

#jtrebrand-modal .jtrebrand-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #bbb;
  margin-bottom: 0;
}

#jtrebrand-modal .modal-footer {
  border-top: none;
  padding: 10px 30px 25px;
}

#jtrebrand-modal .jtrebrand-btn {
  background-color: #c8a86e;
  color: #fff;
  border: none;
  padding: 12px 40px;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#jtrebrand-modal .jtrebrand-btn:hover,
#jtrebrand-modal .jtrebrand-btn:focus {
  background-color: #b8964e;
  color: #fff;
}

@media (max-width: 575px) {
  #jtrebrand-modal .modal-dialog {
    max-width: calc(100% - 20px);
    margin: 10px auto;
    min-height: calc(100vh - 20px);
  }

  #jtrebrand-modal .modal-body {
    padding: 10px 20px 15px;
  }

  #jtrebrand-modal .modal-footer {
    padding: 10px 20px 20px;
  }

  #jtrebrand-modal .jtrebrand-logo {
    max-width: 140px;
  }

  #jtrebrand-modal .jtrebrand-heading {
    font-size: 1.25rem;
  }

  #jtrebrand-modal .jtrebrand-body {
    font-size: 0.875rem;
  }
}
