:root {
    font-family: system-ui, "Noto Sans Thai", sans-serif;
    background: #f5f7fb;
    color: #182033
}

* {
    box-sizing: border-box
}

body {
    margin: 0
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center
}

.auth-card {
    width: min(420px, 92%);
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 45px #1820331a
}

.auth-card label {
    display: grid;
    gap: 7px;
    margin: 15px 0
}

.auth-card input {
    padding: 12px;
    border: 1px solid #ccd3e1;
    border-radius: 8px
}

button {
    border: 0;
    border-radius: 8px;
    background: #5368ed;
    color: #fff;
    padding: 11px 16px;
    font: inherit;
    cursor: pointer
}

.alert {
    padding: 10px;
    background: #fff1f0;
    color: #b42318
}

aside {
    position: fixed;
    width: 230px;
    inset: 0 auto 0 0;
    background: #fff;
    padding: 28px 16px
}

aside b {
    font-size: 26px;
    display: block
}

aside small {
    display: block;
    color: #5368ed;
    letter-spacing: .15em;
    margin-bottom: 28px
}

aside a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: #697386;
    border-radius: 8px
}

.active {
    background: #eef0ff;
    color: #5368ed
}

.shell {
    margin-left: 230px
}

header {
    height: 70px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px
}

main {
    padding: 42px;
    max-width: 1200px
}

h1 {
    margin-top: 0
}

section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

article,
.panel {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 5px 18px #1820330b
}

article small,
article em {
    color: #697386;
    font-style: normal
}

article strong {
    display: block;
    font-size: 32px;
    margin: 12px 0
}

.panel {
    margin-top: 20px
}

@media(max-width:720px) {
    aside {
        display: none
    }

    .shell {
        margin: 0
    }

    main,
    header {
        padding: 25px
    }

    section {
        grid-template-columns: repeat(2, 1fr)
    }
}