@font-face {
    font-family: Danafont;
    src: url(/font/Vazirmatn-Regular.woff);
    /* src: url(/font/Vazirmatn-Regular.woff2); */
  
  }
  
  body,
      html {
          margin: auto;
          padding: 0;
          height: 100%;
          background: #FEF3E2 !important;
          color:white !important ;
          font-family: Danafont;
          overflow-x:hidden;
      }
      .user_card {
          height: 470px;
          width: 300px;
          margin-top: 100px;
          margin-bottom:auto;
          background:#708871;
          position: relative;
          display: flex;
          justify-content: center;
          flex-direction: column;
          padding: 10px;
          box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
          -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
          -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
          border-radius: 25px;
        border: 1px solid #606676;
      }
      .brand_logo_container {
          position: absolute;
          height: 170px;
          width: 170px;
          top: -75px;
          border-radius: 50%;
          background: #FEF3E2;
          padding: 10px;
          text-align: center;
      }
      .brand_logo {
          height: 150px;
          width: 150px;
          border-radius: 50%;
          border: 2px solid white;
      }
      .form_container {
          margin-top: 100px;
      }
      .login_btn {
          width: 100%;
          background: #c9d557 !important;
          color: #222422!important;
          border-radius: 20px;
      }
      .login_btn:focus {
          box-shadow: none !important;
          outline: 0px !important;
      }
      .login_container {
          padding: 0 2rem;
      }
      .input-group-text {
          background: #222422!important;
          color: white !important;
          border: 0 !important;
          border-radius: 0rem 0.25rem 1.25rem 0rem !important;
      }
      .input_user{
          border-radius: 1.25rem 0rem 0rem 0.25rem !important;
          
      }
      .input_pass:focus {
          box-shadow: none !important;
          outline: 0px !important;
  
      }
      .custom-checkbox .custom-control-input:checked~.custom-control-label::before {
          background-color: #377dc8 !important;
      }
      a{
          color: #dbf200 ;
      }


.curved-header {
    background-color: #708871; /* Similar purple color */
    border-bottom-left-radius: 75%;
    border-bottom-right-radius: 75%;
    color: white;
    padding: 50px 50px;
    text-align: center;
    position: relative;
    height: 167px;
    box-shadow: 0px 0px 14px 3px #888888;
    z-index:1;
}
/* Custom styles for the sidebar */
#sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0; /* Change from left to right for RTL */
    background-color: #606676 !important;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 90px;
    /*z-index: 2;*/
    z-index: 99;
}

    #sidebar a {
        padding: 10px 15px;
        text-decoration: none;
        font-size: 16px;
        color: #FEF3E2;
        display: block;
        transition: 0.3s;
    }

        #sidebar a:hover {
            color: #f8f9fa;
            background-color: #495057;
        }

    #sidebar .close-btn {
        position: absolute;
        top: 10px;
        right: 0; /* Change to left for the close button in RTL */
        font-size: 36px;
        margin-bottom: 20px;
    }

/* Main content */
#main-content {
    transition: margin-right 0.5s; /* Change margin-left to margin-right */
    padding: 16px;
}

.bottom-drawer {
    position: fixed;
    bottom: -100%; /* Hidden by default */
    left: 0;
    right: 0;
    height: 100%;
    background-color: #BEC6A0;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    transition: bottom 0.4s ease; /* Smooth slide effect */
    padding: 20px;
}

    /* Show the drawer */
    .bottom-drawer.open {
        bottom: 0; /* Slide up */
        z-index: 3;
    }

/* Button to toggle drawer */
.drawer-toggle-container {
    display: flex;
    padding: 0 15px;
    width: 100%;
    justify-content: start;
    align-items: center;
    position: fixed;
    bottom: 0;
}

.hidden-content {
    display: none;
}




.toggle-container {
    position: absolute;
    width: 250px;
    height: 60px;
    cursor: pointer;
    display: block;
    bottom: 0;
    left: 17%;
    /* margin-left: -80px; */
    margin-bottom: 55px;
   
}

@media screen and (min-width: 600px) {
    .toggle-container {
        position: absolute;
        width: 250px;
        height: 60px;
        cursor: pointer;
        display: block;
        bottom: 0;
        left: 41%;
        /* margin-left: -80px; */
        margin-bottom: 55px;
    }
}

.toggle {
    width: 100%;
    height: 100%;
    background-color: #ccc;
    border-radius: 25px;
    transition: background-color 0.3s;
    border: 3px solid #BEC6A0;
  
}

.toggle-knob {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    top: 0;
    left: 0;
    transition: transform 0.3s;
    border: 3px solid #BEC6A0;
  
}

.toggle-on .toggle {
    background-color: #0D7C66;
}

.toggle-on .toggle-knob {
    transform: translateX(200px);
}

.toggle-text {
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    display: block;
    bottom: 0;
    left: 50%;
    margin-left: -18px;
    margin-bottom: 70px;
    color: #413636;
}

.frmselection {
    position: absolute;
    width: 150px;
    top: 0;
  /*  right: 0;*/
    margin-top: 175px;
    margin-right: 10px;
    border: 3px solid #BEC6A0;
}


#overlay{
    position:fixed;
    height:100%;
    width:100%;
    background-color:#000000;
    z-index:5;
    opacity:0.3;
   display:none;
}
