/* ==========================================================================
   #BODY
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@300;400;500;600;700&family=WDXL+Lubrifont+SC&display=swap');

.page-wrapper {
    min-height: 100vh;
}

.input,
.button,
.ui-menu-item {
    font-family: 'Anuphan', sans-serif;
}

.portal {
    font-family: 'WDXL Lubrifont SC', sans-serif;
    color: #000000;
}

.invert-image {
    filter: invert(1);
}

/* วงกลมจำนวนทั้งหมดในตะกร้า */
.circle-background {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #ff6685;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 80%;
    transform: translateX(-50%);
    height: 300px;
    z-index: 99999;
}

.panel {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    z-index: 10;
}

/* ==========================================================================
   #LOADING
   ========================================================================== */
#overlay,
#overlayPDF {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.5);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

.loading-text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   #BACKGROUND
   ========================================================================== */
.bg-blue {
    background: #2c6ed5;
}

.bg-red {
    background: #fa4251;
}

.bg-img {
    background-image: url("../images/background.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

.bg-gra-01 {
    background: -webkit-gradient(linear, left bottom, left top, from(#fbc2eb), to(#a18cd1));
    background: -webkit-linear-gradient(bottom, #fbc2eb 0%, #a18cd1 100%);
    background: -moz-linear-gradient(bottom, #fbc2eb 0%, #a18cd1 100%);
    background: -o-linear-gradient(bottom, #fbc2eb 0%, #a18cd1 100%);
    background: linear-gradient(to top, #fbc2eb 0%, #a18cd1 100%);
}

.bg-gra-02 {
    background: -webkit-gradient(linear, left bottom, right top, from(#ffffff), to(#00d1b2));
    background: -webkit-linear-gradient(bottom left, #ffffff 0%, #00d1b2 100%);
    background: -moz-linear-gradient(bottom left, #ffffff 0%, #00d1b2 100%);
    background: -o-linear-gradient(bottom left, #ffffff 0%, #00d1b2 100%);
    background: linear-gradient(to top right, #ffffff 0%, #00d1b2 100%);
}

.bg-gra-03 {
    background: -webkit-gradient(linear, left bottom, right top, from(#f7f7f7), to(#9dbbf8));
    background: -webkit-linear-gradient(bottom left, #f7f7f7 0%, #9dbbf8 100%);
    background: -moz-linear-gradient(bottom left, #f7f7f7 0%, #9dbbf8 100%);
    background: -o-linear-gradient(bottom left, #f7f7f7 0%, #9dbbf8 100%);
    background: linear-gradient(to top right, #f7f7f7 0%, #9dbbf8 100%);
}

.bg-bulma {
    background: -webkit-gradient(linear, left bottom, right top, from(#00f7d2), to(#00d1b2));
    background: -webkit-linear-gradient(bottom left, #00f7d2 0%, #00d1b2 100%);
    background: -moz-linear-gradient(bottom left, #00f7d2 0%, #00d1b2 100%);
    background: -o-linear-gradient(bottom left, #00f7d2 0%, #00d1b2 100%);
    background: linear-gradient(to top right, #00f7d2 0%, #00d1b2 100%);
}

.bg-gray {
    background: -webkit-linear-gradient(180deg, #f5f5f5 60%, #ffffff 60%);
    background: -o-linear-gradient(180deg, #f5f5f5 60%, #ffffff 60%);
    background: -moz-linear-gradient(180deg, #f5f5f5 60%, #ffffff 60%);
    background: linear-gradient(180deg, #f5f5f5 60%, #ffffff 60%);
}

/* ==========================================================================
   #SPACING
   ========================================================================== */
.p-t-10 {
    padding-top: 10px;
}

.p-t-15 {
    padding-top: 15px;
}

.p-t-20 {
    padding-top: 20px;
}

.p-t-30 {
    padding-top: 30px;
}

.p-t-100 {
    padding-top: 100px;
}

.p-t-130 {
    padding-top: 130px;
}

.p-t-180 {
    padding-top: 180px;
}

.p-b-100 {
    padding-bottom: 100px;
}

.m-r-45 {
    margin-right: 45px;
}