#notifyTable_length {
  margin-bottom: 0.7rem;
}
  .logincard {
    margin-top: 100px;
    max-width: 500px;
  }
  .form-check-label {
    margin-left: 5px;
  }

  .footer {
    background-color: #040539;
    color: #000000;
    padding: 12px;
    text-align: center;
  }
  .footer1 {
    background-color: #ffffff;
    color: #000000;
    padding: 20px;
    text-align: center;
  }

  .dataTables_filter {
    margin-bottom: 0.7rem;
  }

  #alleventTable_length {
    margin-bottom: 0.7rem;
  }

  

  /* popup css */
  .dialog-ovelay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.50);
    z-index: 999999
  }
  .dialog-ovelay .dialog {
    width: 400px;
    margin: 100px auto 0;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
    border-radius: 3px;
    overflow: hidden
  }
  .dialog-ovelay .dialog header {
    padding: 10px 8px;
    background-color: #f6f7f9;
    border-bottom: 1px solid #e5e5e5
  }
  .dialog-ovelay .dialog header h3 {
    font-size: 14px;
    margin: 0;
    color: #555;
    display: inline-block
  }
  .dialog-ovelay .dialog header .fa-close {
    float: right;
    color: #c4c5c7;
    cursor: pointer;
    transition: all .5s ease;
    padding: 0 2px;
    border-radius: 1px    
  }
  .dialog-ovelay .dialog header .fa-close:hover {
    color: #b9b9b9
  }
  .dialog-ovelay .dialog header .fa-close:active {
    box-shadow: 0 0 5px #673AB7;
    color: #a2a2a2
  }
  .dialog-ovelay .dialog .dialog-msg {
    padding: 12px 10px
  }
  .dialog-ovelay .dialog .dialog-msg p{
    margin: 0;
    font-size: 15px;
    color: #333
  }
  .dialog-ovelay .dialog footer {
    border-top: 1px solid #e5e5e5;
    padding: 8px 10px
  }
  .dialog-ovelay .dialog footer .controls {
    direction: rtl
  }
  .dialog-ovelay .dialog footer .controls .button {
    padding: 5px 15px;
    border-radius: 3px
  }
  .button {
  cursor: pointer
  }

  .button-default {
    background-color: rgb(248, 248, 248);
    border: 1px solid rgba(204, 204, 204, 0.5);
    color: #5D5D5D;
  }
  .button-danger {
    background-color: #f44336;
    border: 1px solid #d32f2f;
    color: #f5f5f5
  }


  .role_name_display{
    font-weight: 500;
    font-size: 9px;
    border: 1px solid;
    padding: 2px 7px;
    border-radius:30px;
  }

  .navbar{
    padding: 5px 0  !important;
  }

  .fa-bell{
    font-size: 10px;
  }

  /* Mobile-friendly header styles */
  @media (max-width: 991.98px) {
    .navbar-nav {
      padding: 10px 0;
    }
    
    .navbar-nav .nav-item {
      width: 100%;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .nav-item:last-child {
      border-bottom: none;
    }
    
    .navbar-nav .nav-link {
      padding: 12px 15px !important;
    }
    
    .navbar-nav .dropdown-menu {
      position: static !important;
      transform: none !important;
      width: 100%;
      max-height: 200px;
      overflow-y: auto;
      background-color: rgba(255,255,255,0.95);
      border: none;
      border-radius: 0;
      margin: 0;
      padding: 0;
    }
    
    .navbar-nav .dropdown-item {
      padding: 10px 25px;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .navbar .navbar-brand {
      max-width: 60%;
    }
    
    .navbar .navbar-brand img {
      height: 35px !important;
    }
    
    .navbar-nav.ms-auto {
      border-top: 1px solid rgba(255,255,255,0.2);
      margin-top: 10px;
      padding-top: 10px;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      gap: 5px;
    }
    
    .navbar-nav.ms-auto .nav-item {
      border-bottom: none;
      width: auto;
    }
    
    .navbar-nav.ms-auto .nav-item span {
      white-space: nowrap;
    }
  }

  @media (max-width: 575.98px) {
    .footer {
      padding: 8px;
      font-size: 0.8rem;
    }
    
    .container-fluid {
      padding-left: 10px;
      padding-right: 10px;
    }
    
    .navbar .navbar-brand img {
      height: 30px !important;
    }
  }
  }