@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*{
    margin: 0;
    padding: 0;
}

:root{
    --primary-color:#007AFC;
    --btn-gray:#7B7B7B;
    --bg-gray:#EBEBEB
}

p{
    margin-bottom: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px; 
  }

::-webkit-scrollbar-thumb {
    background-color: rgb(202, 202, 202); 
    border-radius: 5px;
  }

body {
    font-family: "Poppins", sans-serif !important;
    background-color: #fff;
    color: #000000;
    font-size: 14px;
  }

.main-container{
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100dvh;
    color: #000000;
}

.header{
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
}

.header p{
    color: #fff;
    font-weight: 600;
    margin-bottom: 0;
    overflow-wrap: break-word;
}

.header img{
    width: 45px;
    height: 45px;
}

.header .user-btn{
    background-color: #fff;
    border: none;
    outline: none;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: auto;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}

.header .header-user-section{
    position: relative;
    margin-left: auto;
}

.header .list-container{
    display: none;
    gap: 5px;
    position: absolute;
    flex-direction: column;
    right: 10px;
    top: 40px;
    background-color: #fff;
    z-index: 10;
    padding: 10px;
    box-shadow: 
    -4px 0 6px -2px rgba(0, 0, 0, 0.2),  /* Left */
     4px 0 6px -2px rgba(0, 0, 0, 0.2),  /* Right */
     0 4px 6px -2px rgba(0, 0, 0, 0.2);  /* Bottom */
     border-radius:5px;
     min-width: 200px;
     max-width: 200px;
}

.header .list-container .user-name{
    border-bottom: 1px solid;
    font-size: 16px;
    font-weight: 500;
    color: rgb(41 41 41) !important;
    text-align: center;
    padding-bottom: 10px;
    white-space: nowrap;      
    overflow: hidden;  
    text-overflow: ellipsis; 
}

.header .list-container ul{
    display: flex;
    flex-direction: column;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}

.header .list-container ul li{
    border-bottom: 1px solid rgb(172, 172, 172);
    padding: 10px 0;
}

.header .list-container ul li:last-child{
    border: none;
}

.header .list-container ul li a{
    color: #616161;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.header .list-container ul li:hover{
    background-color: rgb(210, 208, 208);
}

.header .list-container ul li:hover a{
    color: #000000;
    padding: 0 10px;
}

.header .list-container.active{
    display: flex;
}

.header .go-back-btn{
    background-color: transparent;
    line-height: 0;
    margin-right: -5px;
    display: flex;
    align-items: center;
}

.header .go-back-btn i{
    font-size: 20px;
    color: #fff;
    line-height: 0;
}

.header .user-btn img{
    height: 100%;
    width: 100%;
    border-radius: 50%;
}

.main-container .content-div{
    flex: 1;
    overflow-y: auto;
    gap: 15px;
    background-color: var(--bg-gray);
    padding: 10px 25px;
    box-sizing: border-box;
}

.main-container .footer{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.1),0px -4px 37px -10px rgba(0,0,0,0.1);
    margin-top: auto;
}

.main-container .footer button{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--btn-gray) !important;
    font-size: 14px;
    font-weight: 400;
    background: transparent;
    border: none;
    outline: none;
}

.main-container .footer button i{
    font-size: 24px;
    color: var(--btn-gray);
}

.footer a i{
    font-size: 16px;
}

.footer .tabs svg path,
.footer .tabs svg rect
{
    color: var(--btn-gray) !important;
}

.footer .tabs svg path{
    fill: var(--btn-gray) !important;
}

.footer .tabs.active,
.footer .tabs.active svg path,
.footer .tabs.active svg rect
{
    fill: #0160e2 !important;
}

.footer .tabs.active span,
.footer .tabs.active i{
    color: #0160e2
}

.footer .tabs img{
    width: 26px;
    height: 26px;
}

button{
    outline: none;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.modal-body{
    max-height: 400px;
    overflow-y: auto;
}

p.error{
    color: #000000;
    font-size: 12px !important;
}

.error,
.error-message{
    font-size: 12px;
    font-weight: 400 !important;
}

.delete-confirm-modal{
    top: 20%;
}

.delete-confirm-modal .modal-body h3 i{
    color: #d73d3d;
    font-size: 30px;
}

.delete-confirm-modal .modal-body {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.delete-confirm-modal .modal-buttons {
    margin-top: 15px;
}

.delete-confirm-modal .modal-buttons button {
    margin: 5px;
    padding: 8px 12px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}

.delete-confirm-modal .btn-delete {
    background: #df2c37;
    color: white;
}

.delete-confirm-modal .btn-cancel {
    background: gray;
    color: white;
}

.load-more-section{
    display: flex;
    justify-content: center;
}

.load-more{
    background-color: #000000;
    padding: 10px 30px;
    color: #fff;
    font-weight: 500;
    border-radius: 30px;
    margin-top: 10px;
}

.video-js .vjs-control-bar {
    position: absolute !important;
    top: 50%;
    left: 50% !important;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    width: 70% !important;
}

.video-js {
    width: 100% !important;
    height: 300px;
}

.notes{
    font-size: 10px;
    color: gray;
}

.carousel-control-next, .carousel-control-prev{
    opacity: 1;
}

.carousel-control-next-icon, .carousel-control-prev-icon{
    background-image: none;
  color: white;
  font-size: 30px;
  display: none;
}

.carousel-control-prev::after,
.carousel-control-next::after {
  font-size: 30px;
  color: white;
}
.carousel-control-next::after {
  content: '>';
}

.carousel-control-prev::after{
    content: '<';
}

.carousel-indicators [data-bs-target]{
    height: 15px;
    width: 15px;
    border-radius: 50%;
}

    /* Make Select2 match Bootstrap form style */
    .select2-container--default .select2-selection--multiple {
        min-height: 38px !important;
        border: 1px solid #ced4da;
        border-radius: 0.375rem;
        padding: 15px 0.75rem !important;
      }

      .select2-container .select2-search--inline .select2-search__field{
        margin-top: 0 !important;
      }

      .select2-container--default .select2-selection--multiple .select2-selection__clear{
        margin-right: 30px !important;
      }

.required-field{
    color: red;
    margin-left: 2px;
}

.carousel-control-next, .carousel-control-prev{
    height: min-content;
    top: 50%;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    text-align: center;
    background-color: var(--primary-color) !important;
}

.toastify{
    max-width: 90%;
    display: flex;
    gap: 10px;
}

.toast-close{
    opacity: 1;
}
/* Responsive design */

@media screen and (max-width: 428px) {
    .main-container{
        padding: 0;
    }
    .video-js{
        height: 200px;
    }

    .main-container .content-div{
        padding: 10px 15px;
    }

    .header img{
        height: 40px;
        width: 40px;
    }
  }