* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --nu-orange: rgb(245, 130, 32);
    --nu-gray: rgb(167, 169, 172);
}

@font-face {
    font-family: 'bai jamjuree';
    src: url('/fonts/bai\ jamjuree/BaiJamjuree-Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}


body,
html {
    font-family: 'bai jamjuree', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: white;

    letter-spacing: 0.2;
    width: 100vw;
}

/*
.filter {
    background-image: url(/images/pic-07.jpg);
    background-size: cover;
    background-position: center;
    display: block;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: white;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    opacity: 0.8;
    z-index: 100;
}
*/

.dialog-box {
    background-color: white;
    width: 90%;
    max-width: 550px;
    padding: 30px;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    border-radius: 8px;
    text-align: center;
    z-index: 200;
}

.dialog-header {
    margin-bottom: 10px;
}

.dialog-body {
    font-size: 1em;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.dialog-body>label {
    align-self: center;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.5em;
    letter-spacing: 0.6px;
}

.dialog-footer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    letter-spacing: 0.3;
}

.button {
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0056b3;
}

.button-secondary {
    background-color: #6c757d;
}

.button-secondary:hover {
    background-color: #5a6268;
}

.banner {
    width: 100%;
    max-width: 450px;
}

.signin-frm {
    width: 80%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 5px;
}

.signin-frm label {
    align-self: self-start;
    margin-bottom: -5px;
    font-weight: 500;
}

.signin-frm input {
    font-size: 1rem;
    padding: 0.3rem;
    margin-bottom: 1rem;
    border-radius: 0.3rem;
    border: solid 1px gray;

}

.signin-frm input:focus {
    outline: rgb(245, 130, 21) 1px solid;
    border: rgb(245, 130, 21) 1px solid;
}

.signin-btn,
.signout-btn {
    background-color: var(--nu-orange);
    padding: 0.8rem 1.5em;
    color: white;
    font-size: 1.2rem;
    border: none;
    border-radius: 0.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    cursor: pointer;
}

.signin-btn:hover {
    background-color: rgb(230, 112, 2);
    transition: 0.5s;
}

.signout-btn {
    background-color: rgb(243, 43, 59) !important;
}

.signout-btn:hover {
    background-color: rgb(154, 123, 126);
    transition: 0.3s;
}

.user-info {
    display: flex;
    flex-wrap: wrap;
    row-gap: 5px;
    margin-top: 20px;
    width: 100%;
}

.user-info label {
    font-weight: 600;
    flex: 1 1 40%;
    font-size: 1.1em;
}

.user-info label:nth-child(odd) {
    text-align: right;
    padding-right: 0px;
    font-weight: bold;
}

.user-info label:nth-child(even) {
    text-align: left;
    padding-left: 10px;
    color: var(--nu-orange);
    font-weight: bold;
}

.error-message {
    color: red;
    font-size: 1em;
    font-weight: 600;
}

mask {
    position: relative;
    line-height: 1;
    top: 0.4rem;
}