@media screen and (min-width:501px){
  body{
    background: #f1f1f1 !important;
  }
  .login-heading h1{
    display: flex;
    justify-content: center;
    font-size: 45px;
    color: #0089FF;
    font-weight: bolder;
  }
  .login-form-container{
    box-shadow: 0 0 4px 0 #ccc;
    margin-top: 40px !important;
    width: 50%;
    margin: auto;
    padding: 10px;
    border-radius: 10px;
    background-color: white;
  }
  .article-form-container{
    width: 50%;
    margin-top: 35px !important;
    padding: 30px;
    border-radius: 10px;
    margin: auto;
    background-color: white;
    box-shadow: 0 0 4px 0 #ccc;
  }
  .bg-color{
    background-color: #ccdbdf;
  }
  .login-heading p{
    display: flex;
    justify-content: center;
    font-size: 19px;
  }
  
  .input{
    border: none;
    outline: none;
    border-bottom: 1px solid rgb(194, 186, 186);
    width: 100%;
  }
  
  .label{
    font-size: 15px;
    color: #0188FF;
  }
  .main-content {
    padding: 20px; /* Hier kannst du den gewünschten Abstand einstellen */
  }
  table {
    margin-bottom: 20px; /* Abstand unterhalb der Tabelle */
  }
  .order-class{
    color:red;
  }
  
  .submit-button{
    width: 100%;
    background: #0188FF;
    color: white;
    border: unset;
    font-size: 15px;
    border-radius: 4px;
    padding: 10px 0px;
  }
  .search-input-parent{
    border-bottom: 1px solid #d9d9d9;
    width: 45%;
    margin-top: 0;
    margin-bottom: 0;
  }
  
  .search-input{
    position: relative;
    border-radius: 38px !important;
    border: 1px solid #f8bf63 !important;
    font-size: 16px !important;
    padding-right: 45px !important;
    
  }
  .order-line-item{
    background: white;
    padding: 20px;
    border-radius: 10px;
  }
  .search-icon{
    position: absolute;
    right: 38px;
    top: 82px;
    width: 20px;
    height: 20px;
  
  }
  .bg-color-unset{
    background-color: unset;
  }
  .card-body{
    background-color: white;
  }
  .order-heading{
    color: black;
    font-size: 19px;
  }
  .card-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .svg-images-container{
    display:flex;
  }
  .svg-images{
    padding: 0 20px;
    
  }
  .svg-image{
    padding: 8px;
    background-color: #E8E8E8;
    margin: 0 10px;
    border-radius: 5px;
    width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .article-heading{
    font-size: 24px !important ;
  }
  .svg-image img{
    width: 18px;
    height: 18px;
  }
  .order-date{
    font-size: 15px;
  }
  .order-label{
    font-size:12px;
  }
  .main-order-container{
    height: 110vh;
    margin-top: 35px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px -3px rgba(228, 228, 236, 0.6);
  }

  .card-head .name{
    font-size: 15px;
  }
  .create-order{
    height: 100px;
    margin: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px -3px rgba(228, 228, 236, 0.6);
    border-radius: 20px;
  }
  .order-button{
    width: 75%;
    text-align: center;
    padding: 12px 0px;
    background: #f4faff;
    border: 1px solid #0188ff;
    color: #0188ff;
    text-decoration: unset;
    border-radius: 4px;
  }
  .barcode{
    position: absolute;
    z-index: 1;
    top: -30%;
    left: 26px;
    background-color: white;
  }
  .barcode-input{
    position: relative;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    height: 40px;
  }
  .barcode-image{
    position: absolute;
    right: 25px;
    top: 23%;
    width: 24px;
  }
  .barcode-form{
    margin-top: 20px;
    position: relative;
  }
  .article-div{
    background-color: #f5f5f5;
    height: 60px;
    border-radius:8px;
    border: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .surname-parent{
    padding-left: 10px;
  }
  .surname{
    font-size: 12px;
  
  }
  
  .surname-parent .surname-input{
    font-size: 15px;
  }
  .quantity-parent{
    display: flex;
    gap: 20px;
    align-items: center;
  }
  .article-button{
    font-size: 12px;
    margin: 0px;
    padding: 0px 8px;
    border-radius: 4px;
    background: #bababa;
    color: white;
    border: unset;
  }
  .quantity{
    font-size: 15px;
  }
  .submit-button{
    padding: 15px 0px;
    background-color: #0089FF;
    width: 45%;
    text-align: center;
  }
  .submit-button a{
    color: white;
    font-size: 16px;
    text-decoration: none;
  }
  .draft-button{
    padding: 15px 0px;
    border: 1px solid #0188FF;
    width: 45%;
    text-align: center;
  }
  .draft-button a{
    color: black;
    text-decoration: none;
  }
  
  .sub-draft-btn{
    height: 100px;
    margin: auto;
    width: 100%;
    align-items: center;
    justify-content: center;
    box-shadow: 0px -3px rgba(228, 228, 236, 0.6);
    border-radius: 20px;
    display: flex;
    gap: 10px;
  }
  .order-modal{
    background-color: unset;
    border: unset;
    color: #0188ff;
    text-decoration: unset;
  }
  .pending-orders-parent{
    position: relative;
    margin-top: 35px;
  }
  .backdrop-overlay{
    display: none;
  }
  .overlay-active{
    display: block;
    background-color: rgba(24, 23, 26, 0.2);
    position: fixed;
    bottom: 0;
    top: 0%;
    left: -2%;
    width: calc(100% + 24px);
    border-radius: 28px;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 1;
    height: 100%;
  }
  .new-order-modal {
    display: none;
    position: unset;
  }
  
  .active {
    display: block;
    position: fixed;
    z-index: 2;
    background: #fff;
    width: 50%;
    left: 26%;
    top: -59%;
    bottom: -50%;
    border-radius: 16px 16px;
    box-shadow: 0 -56px 56px rgba(119, 118, 122, 0.15);
    padding: 15px 30px;
    transition: bottom 0.3s;
    height: fit-content;
    margin: auto;
  }
  
  .new-order-heading{
    border-bottom: 1px solid #d9d9d9;
  }
  
  .new-order-form{
    display: flex;
    flex-direction: column;
  }
  .new-order-btn{
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .create-order-btn{
    width: 100%;
    text-align: center;
    padding: 10px 0px;
    background: #0089ff;
    border: 1px solid #0188ff;
    color: white;
    text-decoration: unset;
    border-radius: 4px;
  }
  .back-to-order-btn{
    width: 100%;
    text-align: center;
    padding: 10px 0px;
    background: #f4faff;
    border: 1px solid #0188ff;
    color: #0089FF;
    text-decoration: unset;
    border-radius: 4px;
  }
  
  .company-label{
    position: absolute;
    z-index: 9;
    top: 19%;
    left: 44px;
    background-color: white;
    font-size: 14px;
  }
  .vehicle-label{
    position: absolute;
    z-index: 9;
    top: 34%;
    left: 45px;
    background-color: white;
    font-size: 14px;
  }
  
  .date-label{
    position: absolute;
    z-index: 9;
    top: 48%;
    left: 45px;
    background-color: white;
    font-size: 14px;
  }
  .amount-label{
    position: absolute;
    z-index: 9;
    top: 53%;
    left: 45px;
    background-color: white;
  } 
  .order-input{
    position: relative;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    height: 40px;
    background: white;
  }
  
  .artikels{
    overflow-y: scroll;
    height: 38%;
  }
  .new-article-modal{
    display: none;
    position: unset;
  }
  .article-active{
    display: block;
    position: absolute;
    z-index: 9;
    background: #fff;
    width: 100%;
    left: 0;
    top: 56%;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -56px 56px rgba(119, 118, 122, 0.15);
    padding: 15px 30px;
    transition: bottom 0.3s;
    height: fit-content;
    overflow-y: scroll;
  }
  .overlay-article-active{
    display: block;
    background-color: rgba(24, 23, 26, 0.2);
    position: fixed;
    bottom: 0;
    top: -24%;
    left: -3%;
    width: calc(100% + 24px);
    border-radius: 28px;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 2;
    height: 100%;
  } 
  
  .new-article-heading{
    border-bottom: 1px solid #d9d9d9;
  }
  .barcode-label{
    position: absolute;
    z-index: 1;
    top: -8px;
    left: 11px;
    background-color: white;
    padding: 0px 7px;
    font-size: 12px;
    color: #919191;
  }
  .article-barcode-image{
    position: absolute;
    right: 13px;
    top: 15%;
    width: 24px;
  }
  .surname-label{
    position: absolute;
    z-index: 1;
    top: -10px;
    left: 11px;
    background-color: white;
    font-size: 12px;
    color: #919191;
    padding: 0px 7px;
  }
  .vario-label{
    position: absolute;
    z-index: 1;
    top: -10px;
    font-size: 12px;
    left: 12px;
    background-color: white;
    color: #919191;
    padding: 0 7px;
  }
  .article-price-label{
    position: absolute;
    z-index: 1;
    top: 69%;
    left: 26px;
    background-color: white;
  }
  .quantity-label{
    position: absolute;
    z-index: 1;
    top: -10px;
    left: 12px;
    background-color: white;
    padding: 0 7px;
    color: #919191;
    font-size: 12px;
  }

  .min-stock-label{
    position: absolute;
    z-index: 1;
    top: -10px;
    left: 12px;
    background-color: white;
    font-size: 12px;
    padding: 0 7px;
    color: #919191;
  }
}


@media screen and (max-width:500px){
/*
 *= require font-awesome
 */

 .bg-color{
  background-color: unset;
 }
  .login-heading h1{
    display: flex;
    justify-content: center;
    font-size: 45px;
    color: #0089FF;
    font-weight: bolder;
  }
  .login-heading p{
    display: flex;
    justify-content: center;
    font-size: 19px;
  }

  .input{
    border: none;
    outline: none;
    border-bottom: 1px solid rgb(194, 186, 186);
    width: 100%;
  }

  .label{
    font-size: 15px;
    color: #0188FF;
  }
  .main-content {
    padding: 20px; /* Hier kannst du den gewünschten Abstand einstellen */
  }
  table {
    margin-bottom: 20px; /* Abstand unterhalb der Tabelle */
  }
  .order-class{
    color:red;
  }

  .submit-button{
    width: 100%;
    background: #0188FF;
    color: white;
    border: unset;
    font-size: 15px;
    border-radius: 4px;
    padding: 10px 0px;
  }
  .search-input-parent{
    border-bottom: 1px solid #d9d9d9;
    width: 100%;
    margin-top: 24px;
    align-items: center;
    margin-bottom: 12px;
  }
  .search-input{
    position: relative;
    border-radius: 38px !important;
    border: 1px solid #f8bf63 !important;
    font-size: 16px !important;
    padding-right: 45px !important;
    margin-bottom: 20px;
    
  }

  .search-icon{
    position: absolute;
    right: 38px;
    top: 82px;
    width: 20px;
    height: 20px;

  }

  .card-body{
    background-color: #F7FDFF;
  }
  .order-heading{
    color: black;
    font-size: 19px;
  }
  .card-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .svg-images-container{
    display:flex;
  }
  .svg-images{
    padding: 0 20px;
    
  }
  .svg-image{
    padding: 8px;
    background-color: #E8E8E8;
    margin: 0 10px;
    border-radius: 5px;
    width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .svg-image img{
    width: 18px;
    height: 18px;
  }
  .order-date{
    font-size: 15px;
  }
  .order-label{
    font-size:12px;
  }
  .main-order-container{
    height: 110vh;
  }
  .card-head .name{
    font-size: 15px;
  }
  .create-order{
    height: 100px;
    margin: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px -3px rgba(228, 228, 236, 0.6);
    border-radius: 20px;
  }
  .order-button{
    width: 75%;
    text-align: center;
    padding: 12px 0px;
    background: #f4faff;
    border: 1px solid #0188ff;
    color: #0188ff;
    text-decoration: unset;
    border-radius: 4px;
  }
  .barcode{
    position: absolute;
    z-index: 1;
    top: -30%;
    left: 26px;
    background-color: white;
  }
  .barcode-input{
    position: relative;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    height: 40px;
  }
  .barcode-image{
    position: absolute;
    right: 25px;
    top: 23%;
    width: 24px;
  }
  .barcode-form{
    margin-top: 20px;
    position: relative;
  }
  .article-div{
    background-color: #f5f5f5;
    height: 60px;
    border-radius:8px;
    border: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .surname-parent{
    padding-left: 10px;
  }
  .surname{
    font-size: 12px;

  }

  .surname-parent .surname-input{
    font-size: 15px;
  }
  .quantity-parent{
    display: flex;
    gap: 20px;
    align-items: center;
  }
  .article-button{
    font-size: 12px;
    margin: 0px;
    padding: 0px 8px;
    border-radius: 4px;
    background: #bababa;
    color: white;
    border: unset;
  }
  .quantity{
    font-size: 15px;
  }
  .submit-button{
    padding: 15px 0px;
    background-color: #0089FF;
    width: 45%;
    text-align: center;
  }
  .submit-button a{
    color: white;
    font-size: 16px;
    text-decoration: none;
  }
  .draft-button{
    padding: 15px 0px;
    border: 1px solid #0188FF;
    width: 45%;
    text-align: center;
  }
  .draft-button a{
    color: black;
    text-decoration: none;
  }

  .sub-draft-btn{
    height: 100px;
    margin: auto;
    width: 100%;
    align-items: center;
    justify-content: center;
    box-shadow: 0px -3px rgba(228, 228, 236, 0.6);
    border-radius: 20px;
    display: flex;
    gap: 10px;
  }
  .order-modal{
    background-color: unset;
    border: unset;
    color: #0188ff;
    text-decoration: unset;
  }
  .pending-orders-parent{
    position: relative;
  }
  .backdrop-overlay{
    display: none;
  }
  .overlay-active{
    display: block;
    background-color: rgba(24, 23, 26, 0.2);
    position: fixed;
    bottom: 0;
    top: -24%;
    left: -3%;
    width: calc(100% + 24px);
    border-radius: 28px;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 1;
    height: 100%;
  }
  .new-order-modal {
    display: none;
    position: unset;
  }

  .active {
    display: block;
    position: fixed;
    z-index: 2;
    background: #fff;
    width: 100%;
    left: 0;
    top:48%;
    bottom: -100%;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -56px 56px rgba(119, 118, 122, 0.15);
    padding: 15px 30px;
    transition: bottom 0.3s;
    height: fit-content;
  }

  .new-order-heading{
    border-bottom: 1px solid #d9d9d9;
  }

  .new-order-form{
    display: flex;
    flex-direction: column;
  }
  .new-order-btn{
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .create-order-btn{
    width: 100%;
    text-align: center;
    padding: 10px 0px;
    background: #0089ff;
    border: 1px solid #0188ff;
    color: white;
    text-decoration: unset;
    border-radius: 4px;
  }
  .back-to-order-btn{
    width: 100%;
    text-align: center;
    padding: 10px 0px;
    background: #f4faff;
    border: 1px solid #0188ff;
    color: #0089FF;
    text-decoration: unset;
    border-radius: 4px;
  }

  .company-label{
    position: absolute;
    z-index: 9;
    top: 16%;
    left: 44px;
    background-color: white;
    font-size: 14px;
  }
  .vehicle-label{
    position: absolute;
    z-index: 9;
    top: 31%;
    left: 45px;
    background-color: white;
    font-size: 14px;
  }

  .date-label{
    position: absolute;
    z-index: 9;
    top: 46%;
    left: 45px;
    background-color: white;
    font-size: 14px;
  }
  .amount-label{
    position: absolute;
    z-index: 9;
    top: 53%;
    left: 45px;
    background-color: white;
  } 
  .order-input{
    position: relative;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    height: 40px;
    background: white;
  }

  .artikels{
    overflow-y: scroll;
    height: 38%;
  }
  .new-article-modal{
    display: none;
    position: unset;
  }
  .article-active{
    display: block;
    position: absolute;
    z-index: 9;
    background: #fff;
    width: 100%;
    left: 0;
    top: 56%;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -56px 56px rgba(119, 118, 122, 0.15);
    padding: 15px 30px;
    transition: bottom 0.3s;
    height: fit-content;
    overflow-y: scroll;
  }
  .overlay-article-active{
    display: block;
    background-color: rgba(24, 23, 26, 0.2);
    position: fixed;
    bottom: 0;
    top: -24%;
    left: -3%;
    width: calc(100% + 24px);
    border-radius: 28px;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 2;
    height: 100%;
  } 

  .new-article-heading{
    border-bottom: 1px solid #d9d9d9;
  }
  .barcode-label{
    position: absolute;
    z-index: 1;
    top: -20%;
    left: 26px;
    background-color: white;
  }
  .article-barcode-image{
    position: absolute;
    right: 13px;
    top: 15%;
    width: 24px;
  }
  .surname-label{
    position: absolute;
    z-index: 1;
    top: -21%;
    left: 26px;
    background-color: white;
  }
  .vario-label{
    position: absolute;
    z-index: 1;
    top: -21%;
    left: 26px;
    background-color: white;
  }
  .article-price-label{
    position: absolute;
    z-index: 1;
    top: 69%;
    left: 26px;
    background-color: white;
  }
  .quantity-label{
    position: absolute;
    z-index: 1;
    top: -24%;
    left: 26px;
    background-color: white;
  }
  .min-stock-label{
    position: absolute;
    z-index: 1;
    top: -13px;
    left: 26px;
    background-color: white;
  }

}
