:root{
    
}

*, *:before, *:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    background-image: linear-gradient(to right, #f83600 0%, #f9d423 100%);

}

img{
    width: 100%;
    max-width: max-content;
    height: auto;
}

.card{
    border-radius: 20px;
}

.logo{
    text-align: center;
    max-width: clamp(100px, 20vw, 200px);
    margin: 0 auto;
}

.menu{
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    gap: 10px;
}

.menu a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    transition: background-color .3s ease;
    background-color: transparent;
    border: 2px solid white;
}

.menu svg{
    width: calc(100% - 15px);
    height: auto;
    display: block;
}

.menu path{
    fill: white;
    transition: fill .3s ease;
}

.menu a:hover{
    background-color: white;
}

.menu a:hover path{
    fill: orange;
}

.modal-header,
.modal-footer{
    background-image: linear-gradient(to right, #f83600 0%, #f9d423 100%);
    color: white;
}

.close:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}
button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}
[type=reset], [type=submit], button, html [type=button] {
    -webkit-appearance: button;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.close:focus, .close:hover {
    color: #000;
    text-decoration: none;
    opacity: .75;
}

#register-client-form .form-group{
    margin-bottom: 1em;
}

#register-client-form button{
    display: block;
    margin: 0 auto;
}

.form-error{
    color: #a90300;
}

.user-list, .loyalty-cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 400px));
    justify-content: space-around;
    gap: 20px;
}

.user-item{
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.user-item .card-header,
.loyalty-cards .card-header{
    font-weight: bold;
    font-size: 1.3em;
}

.user-item a{
    position: absolute;
    inset: 0;
}

.user-item ul{
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.user-item svg{
    height: 1.5em;
    width: auto;
    margin-right: 10px;
}

.user-item svg path{
    fill: orange;
}

.add-points-button{
    margin: 0 0 0 auto;
}

select{
    background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23ffc107' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;
    background-size: 16px 20px;
    padding: .375rem 1.75rem .375rem .75rem;
    margin-bottom: .5em;
}

#add_points_modal label{font-size: 25px;text-align: center;width: 100%;}
#add_points_modal #mount{
    min-height: 1.3em;
    font-size: 5rem;
    line-height: 1;
    text-align: center;
}

@media (max-width: 480px) {
    .menu{
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        padding: 0 15px;
        justify-content: center;
        margin-top: 15px;
    }
}