.table-compact_row th, .table-compact_row td {   
    padding: 0.3rem; /* Adjust this value as needed */ 
	vertical-align:top;
}

.offcanvas {
    z-index: 1060; !important;
}

.nm-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      display: flex;
      align-items: flex-start;
      justify-content: center;
      z-index: 1050;
      padding-top: 10px;
      opacity: 0.8;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nm-modal-backdrop.open {
      opacity: 1;
      visibility: visible;
    }
	
	.nm-modal-backdrop.hidden {
    display: none !important;
}

    .nm-modal {
      background: #fff;
      border-radius: 8px;
      width: 99%;
      height: 99%;
      box-shadow: 0 10px 30px rgba(0,0,0,0.25);
      position: relative;
      overflow: auto;
      transform: translateY(-20px);
      opacity: 0;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nm-modal-backdrop.open .nm-modal {
      transform: translateY(0);
      opacity: 1;
    }

    .nm-modal__header {
      background:#E2C6FF;
      padding: 16px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
      border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .nm-modal__title {
      font-size: 1.25rem;
      margin: 0;
      font-weight: 600;
      color: #003366;
    }

    .nm-modal__body { padding: 20px; }

    .nm-modal__footer {
      padding: 16px 20px;
      border-top: 1px solid rgba(0,0,0,0.06);
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }

    .nm-btn {
      appearance: none;
      border: 0;
      background: #0d6efd;
      color: white;
      padding: 8px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 0.95rem;
    }

    .nm-btn--ghost { background: transparent; color: #333; }

    .nm-close {
      position: absolute;
      top: 10px;
      right: 10px;
      background: red;
      border: none;
      color: white;
      font-size: 1.25rem;
      font-weight: bold;
      line-height: 1;
      padding: 8px 12px;
      border-radius: 50%;
      cursor: pointer;
    }

    .nm-close:hover { background: darkred; }
	
.calendar-table { height: 500px; }
        .calendar-table tbody tr { vertical-align: top; }
        .month-row { height: calc(500px / 6); }
        .day-row { height: calc(500px / 24); }
		
.form-control.form-control-sm {
    height: 30px !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.8rem !important;
    border-radius: 4px;
}

.form-select.form-select-sm {
    height: 30px !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.8rem !important;
}