@font-face {
    src: url('/static/css/sufferer_history/NotoSansThai-VariableFont_wdth\,wght.ttf') format('truetype');
    font-family: Noto Sans Thai;
  }

*{
    font-size: 18px;
    font-family: Noto Sans Thai;
}


a,
a:hover {
    color: #333;
}

form i {
    cursor: pointer;
    color: #333;
}

.installable {
    visibility: hidden;
}

body::after{
    content: "";
    height: 100dvh;
    width: 100%;
    position: fixed;
    top:0;
    z-index: -2;   
    background: #fdb9da81;
    background: linear-gradient(175deg, rgba(253, 185, 218, 0.767) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 50%, rgba(86, 162, 233, 0.171) 100%);

}


.required::after {
    content: ' *';
    color: red;
}
.input-wrapper {
    --border-radius: 10px;
    max-width: 400px;
    .btn {
        height: 50px;
        border-radius: var(--border-radius);
        background-color: #ca2e7c;
        color: white;
    }

    .btn:hover {
        color: white;
        background-color: #bb2b73;
    }
    input[name='username'] {
        text-transform: lowercase;
    }
    input[type='text'],
    input[type='password'] {
        height: 50px;
    }
    input[type='text'],
    input[type='password'],
    .input-group .input-group-text{
        border: 2px solid #ED73AC;
        border-radius: var(--border-radius);
    }
    .input-group >  .input-group-text:last-child {
        border-left: none;
    }
    .input-group >  .input-group-text:first-child {
        border-right: none;

    }
    
}

.logo-app {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;

    .logo-image img {
        max-width: 100px;
        height: auto;
    }
    .logo-label {
        margin: 1rem;
        font-size: 20px;
        color: #C63884;
        max-width: 230px;
    }
}

.bg-pink{
    background-color: #C63884;
    color: white;
}
.footer.pink{
    background-color: #C63884;
    div{
        margin:0;
    }
}

.loading {
    opacity: 0.5;
}

.loading span {
    display: none;
}

#loading {
    background: #fdb9db;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

#loading img {
    position: absolute;
    margin: 0;
    animation: spin 1s infinite linear;
    pointer-events: none;
    border-color: #000;
}

#loading div {
    position: absolute;
    margin: 0;
    text-align: center;
    vertical-align: center;
}

@keyframes spin {
    0% {
        rotate: 0deg;
    }

    100% {
        rotate: 360deg;
    }
}

.installable .show_tag {
    position: fixed;
    margin: 0;
    top: 10px;
    background-color: rgba(51, 51, 51, 0.7);
    height: 35px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 20px;
}
