*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    margin: 0;
    padding: 0;
}

body{
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.app-main.login{
    background-color: #D13239;
}

.app-header{
    width: 100%;
    height: 40px;
    background: #D13239;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #D13239;
    top: 0;
    left: 0;
    position: absolute;
}

.app-header h3{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    color: #000;
}

.app-body{
    position: absolute;
    top: 40px;
    bottom: 25px;
    left: 0;
    height: 25px;
    width: 100%;
    height: calc(100% - 65px);
}

.list{
    width: 100%;
    height: calc(100% - 40px);
    overflow-y: scroll;
    position: absolute;
    top: 40px;
    left: 0;
    padding: 10px 10px 10px 10px;
}

.search-bar{
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar input{
    width: 100%;
    height: 40px;
    padding: 0 0 0 10px;
    margin: 0;
    background: none;
    border: none;
    border-bottom: 1px solid #D13239;
    outline: none;
}

.search-bar button{
    width: 40px;
    height: 40px;
    background-color: #D13239;
    border: none;
    color: #000;
    font-size: 21px;
    cursor: pointer;
}

.list-item{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.list-item:last-child{
    margin: 0 0 0 0 ;
}

.list-item .actions{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

button.add{
    position: absolute;
    bottom: 25px;
    right: 10px;
    width: 45px;
    height: 45px;
    background-color: #D13239;
    color: #000;
    font-size: 32px;
    border-radius: 25px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-item .actions button{
    width: 35px;
    height: 35px;
    border-radius: 17.5px;
    margin: 0;
    padding: 0;
    border: none;
    background-color: #D13239;
    color: #fff;
    font-size: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.list-item .actions button.minus{
    background-color: #ddd;
}

.number{
    font-weight: 600;
}

.app-footer{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 25px;
    width: 100%;
    background-color: #D13239;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-footer p{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 9px;
    color: #000;
    text-transform: uppercase;
    font-weight: 600;
}

/*****BOX******/

.add-box-container{
    padding: 25px;
    background: #fff;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, .3);
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
    width: 90%;
    display: none;
}

.add-box-container.open{
    display: block !important;
}

.add-box-container h3{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    color: #000;
    font-size: 18px;
    text-align: center;
}

.add-box-container input{
    width: 100%;
    height: 35px;
    margin: 15px 0 15px 0;
    padding: 0 0 0 10px;
}

.add-box-container .btn-grp{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.add-box-container .btn-grp button{
    width: 100%;
    height: 35px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: none;
    color: #000;
    border-radius: 5px;   
}

.add-box-container .btn-grp button.add-new{
    background-color: #D13239;
}

.loader-container{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    /* From https://css.glass */
background: rgba(255, 255, 255, 0.2);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);
z-index: 999;
display: none;
}

.loader-container.active{
    display: flex;
}

.loader {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 3px solid;
  border-color: #000 #000 transparent transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px solid;
  border-color: transparent transparent #D13239 #D13239;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}
.loader::before {
  width: 82px;
  height: 82px;
  border-color: #000 #000 transparent transparent;
  animation: rotation 1.5s linear infinite;
}
    
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/***********LOGIN ********************/

.login{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.login-box{
    width: 100%;
    max-width: 280px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 35px;
}

.login-box .icon{
    width: 120px;
    height: 120px;
    margin: 0;
    padding: 0;
}

.login-box .icon img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login form{
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.login form input{
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 0 0 15px;
    border: 2px solid #000;
    background: none;
    border-radius: 10px;
    outline: none;
}

.login form button{
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 0 0 15px;
    border: 2px solid #000;
    background: none;
    border-radius: 10px;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.install{
  width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 0 0 15px;
    border: 2px solid #000;
    background: none;
    border-radius: 10px;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.msg-box{
    width: 100%;
    padding: 10px 15px 10px 15px;
    margin: 5px 0 5px 0;
    border: 2px solid #fff;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: none;
}

.msg-box.active{
    display: block;
}