@charset "UTF-8";

html,
body {
  height: 100%;
  margin: 0;
  color: #133c55;
  font-family: Raleway, Helvetica, Arial, sans-serif;
}

input,
select {
  border-radius: 0.5rem !important;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23333' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center; /* Add padding here */
  background-size: 1em;
}

.alert {
  position: relative;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
}

.alert-success {
  color: #014122;
  background-color: #a8d686;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

.alert-warning {
  color: #664d03;
  background-color: #fff3cd;
  border-color: #ffecb5;
}

.bg-brand-secondary {
  background-color: #c3de5c !important;
}

.bg-brand-dark {
  background-color: #133c55 !important;
}

.bg-light-gray {
  background-color: #e6ebef !important;
}

.btn-outline {
  background-color: transparent;
  color: #78be43 !important;
}
.btn-outline:hover {
  color: #fff !important;
}

/* .container-fluid {
    display: flex;
    height: 100vh;
} */

.d-grid {
  display: grid;
}

.form-check {
  input[type="checkbox"].form-check-input {
    border-radius: 0.25em !important;
    float: left;
    margin-left: -1.5em;
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, 0.25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;

    &:checked {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
      background-color: #78be43 !important;
      border-color: #78be43 !important;
    }
  }
}

.gap-1 {
  gap: 0.25rem;
}
.gap-4 {
  gap: 3rem;
}

.rounded {
  border-radius: 0.5rem !important;
}

.rounded-2 {
  border-radius: 1rem !important;
}

.rounded-3 {
  border-radius: 1.5rem !important;
}

.rounded-4 {
  border-radius: 2rem !important;
}

.rounded-5 {
  border-radius: 2.5rem !important;
}

.text-primary {
  color: #c3de5c !important;
}

.sidebar {
  min-height: 558px;
  height: 100%;
}

.text-secondary {
  color: #133c55 !important;
}

.text-success {
  color: #78be43 !important;
}

.text-info,
.text-blue-light {
  color: #5cc3de !important;
}

.text-blue {
  color: #1155a9 !important;
}

.text-default {
  font-size: 1rem;
}

.text-underline {
  text-decoration: underline;
}

/* modal styles */

/* QR Code Modal Styles */
.modal {
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal .modal-dialog {
  max-width: 450px;
  margin: 10% auto;
  transition: all 0.3s ease;
}

.modal .modal-content {
  border-radius: 0.5rem;
}
.modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.modal .modal-title {
  margin: 0;
  color: #212529;
}

.modal .close {
  padding: 0;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  opacity: 0.5;
  transition: opacity 0.15s;
  z-index: 10;
}

.modal .close:hover {
  opacity: 0.75;
}

.modal .modal-body {
  padding: 10px 0;
}

.modal-content {
  /* display: flex; */
  justify-content: center;
  margin: 15px 0;
}

/* Responsive modal styles for mobile devices */
@media (max-width: 767px) {
  .modal {
    padding: 0 !important;
  }

  .modal .modal-dialog {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .modal .modal-content {
    height: 100vh;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
  }

  .modal .modal-header {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
  }

  .modal .close {
    font-size: 2rem;
    padding: 10px;
  }

  .modal .modal-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    margin: 30px 0;
  }
}

#qr-code-content {
  min-height: 300px;
  min-width: 300px;
}
@media (max-width: 768px) {
  #qr-code-content {
    min-height: 260px;
    min-width: 260px;
  }
}

