*,
::before,
::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

table{
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 10rem !important;
    border-collapse: separate;
}

.table td, .table th{
    border-top: 0;
}

.top{
    position: sticky;
    top: -3px;
    background: #212529;
    border-color: #95999c;
}

.secbtns{
    right: 0;
    bottom: 0;
    z-index: 1000;
    position: fixed;
    padding: 1rem;
}

.secbtns button{
    padding: 0.8rem;
    margin: 0.2rem;
}

.message{
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 20px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    z-index: 1000;
}

.submenu {
    position: fixed;
    display: none;
    bottom: 5.5rem;
    right: 1.3rem;
    padding: 1rem;
    background-color: #6c757d;
    border-radius: 5px;
    color: white;
}

.submenu.active {
    display: block;
}

.rouge{
    color: red;
}

form div{
    display: flex;
    justify-content: space-between;
    padding: 0.3rem;
    gap: 1rem;
}

.inp input{
    padding: 0.3rem;
    width: 4rem;
}

@media screen and (max-width: 600px){
    .secbtns{
        right: auto;
        left: 0;
    }
    .submenu{
        right: auto;
        width: 90%;
    }
}