:root {
    --blue: #005EB5;
    --white: #ffffff;
    --background: #EFEFEF;
    --black: #0C0C0C;
    --grey: #636363;
    --size-h2-small:20px;
    --size-p-small:16px;
    --image-with-small:45px;
}

@font-face {
    font-family: "DIN Pro";
    src: url("/fonts/FontsFree-Net-DINPro-1.ttf");
}

@font-face {
    font-family: "DIN Pro Bold";
    src: url("/fonts/DINPro-Bold_13934.ttf");
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    /* position: relative; */
}

body {
    background-color: var(--white);
    position: relative;
}

/* LAYOUT HEADER */

.header {
    display: flex;
    height: 48px;
    padding: 12px 16px;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.header h1 {
    color: var(--black);
    text-align: center;
    font-family: "DIN Pro Bold";
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    flex: 1;
}

/* LAYOUT HOME */
.banner {
    display: block;
    width: 100%;
    /* height: 152px; */
    padding: 12px 16px;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    background-color: var(--white);
}

.banner #banner {
    display: none;
}

.banner__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.banner__header h1 {
    color: "#0C0C0C";
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    font-family: "DIN Pro Bold";
}

.banner__header img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: none;
}

.banner__content {
    padding: 0px 1rem;
    gap: 1rem;
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
}

.banner__content h2 {
    color: #14375A;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-family: "DIN Pro Bold";
    width: 200px;
}

.banner_img {
    width: 54px;
    height: 52px;
    object-fit: contain;
}

.widget__header {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 12px;
}

.stroke_risk_container {
    display: none;
}

.stroke_risk_container p {
    font-family: "DIN Pro";
    color: var(--black);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.stroke_risk_container #stroke_risk_name {
    font-family: "DIN Pro Bold";
    color: var(--black);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.stroke_risk_container #stroke_risk_date {
    color: var(--black);
    font-family: "DIN Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    opacity: 0.6;
    margin-top: 4px;
}

.stroke_risk_content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    margin-top: 1rem;
}

.stroke_risk_content .stroke_risk_value {
    color: #14375A;
    font-family: "DIN Pro";
    font-size: 56px;
    font-style: normal;
    font-weight: 300;
    line-height: 56px;
}

.stroke_risk_content #stroke_risk_unit {
    color: #14375A;
    font-family: "DIN Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.stroke_risk_content .stroke_risk_value_not_change {
    color: "#0C0C0C";
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    font-family: "DIN Pro";
}

.stroke_risk_congratulations {
    font-size: 20px;
    color: "#0C0C0C";
    font-weight: 700;
    line-height: normal;
    font-family: "DIN Pro";
}
.mtc-8{
    margin-top: 8px;
}
/* custom for VN and TH */
.banner-VN .banner__img, .banner-TH .banner__img{
   width: var(--image-with-small);
}

.banner-VN .banner_img, .banner-TH .banner_img{
    width: var(--image-with-small);
 }
.banner-VN .banner__content h2{
    font-size: var(--size-h2-small);
}
.banner-TH .banner__content h2{
    font-size: 17px;
}
.banner-VN .stroke_risk_congratulations,.banner-TH .stroke_risk_congratulations {
    font-size: 18px;
}
.mtc-VN, .mtc-TH {
    margin-top: 2px;
}
.banner-VN .stroke_risk_content,.banner-TH .stroke_risk_content{
    margin-top: 0;
}

.banner-VN  .stroke_risk_container #stroke_risk_date,
.banner-TH  .stroke_risk_container #stroke_risk_date {
    line-height: 18px;
}

/* LAYOUT PANEL */
.panel__body {
    overflow: hidden;
    height: 100%;
}

.panel__container {
    display: none;
}

.panel {
    background-color: var(--white);
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100 - 200px);
    overflow: scroll;
    padding: 0 1rem;
}

.panel h1 {
    color: #000;
    font-size: 28px;
    font-style: normal;
    line-height: normal;
    font-family: "DIN Pro Bold";
    margin-bottom: 12px;
}

.panel p {
    color: var(--grey);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin-top: 1.2rem;
    font-family: "DIN Pro";
}

.panel span {
    color: #003153;
    font-family: "DIN Pro Bold";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    margin-top: 12px;
    display: block;
}

.group__content {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.group__content p {
    color: #0C0C0C;
    font-family: "DIN Pro";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
}

.group__content img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.panel__bottom {
    width: 100%;
    background-color: var(--white);
    padding: 1rem;
    margin-bottom: 1rem;
}

.loader__container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(var(--vh, 1vh) * 100);
    padding-bottom: 100px;
}

/* LAYOUT MODAL */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* transform: translate(-50%, -50%); */
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    padding: 24px;
    border: 1px solid #888;
    width: 90%;
    max-height: 90%;
    overflow: scroll;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    height: auto;
}

.modal-content span {
    color: #000;
    font-family: "DIN Pro Bold";
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.modal-content p {
    color: #0C0C0C;
    font-family: "DIN Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-top: 24px;
}

.bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 24px;
}


/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* LAYOUT UAT */

.uat__container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.uat__header {
    width: 100%;
    padding: 0 1rem;
}

.uat__bottom {
    width: 100%;
    padding: 0 16px;
    display: block;
}

.btn {
    border: none;
    padding: 12px 10px;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 14px;
    background-color: var(--blue);
    margin-top: 8px;
    color: var(--background);
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    font-family: "DIN Pro Bold";
}

.btn_outline {
    background-color: transparent;
    color: var(--black);
    border-radius: 12px;
    border: 1.5px solid var(--black);
}

.btn_back {
    background-color: transparent;
    border: 1px solid #C0C0C0;
    color: var(--black);
    border-radius: 8px;
    padding: 8px 1rem;
    width: auto;
}

.btn_voucher {
    margin-top: 8px;
    border: 1px solid #000;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-shadow: 5px 4px;
    padding: 8px 12px;
    min-height: 30px;
}

.btn_voucher img {
    width: 100%;
    object-fit: contain;
}

.uat__iframe {
    min-width: 100%;
}

/* LOADER */

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid var(--blue);
    width: 100px;
    height: 100px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Layout Error */

.error {
    align-items: center;
    justify-content: center;
    display: none;
    width: 100%;
    margin-top: 10px;
    color: red;
}

/* LAYOUT VOUCHER */

.voucher__container {
    align-items: center;
    width: 100%;
    padding: 0 1rem;
    padding-top: 24px;
    height: 100%;
}

.voucher__content {}

.voucher__container h1 {
    color: #000;
    font-size: 28px;
    font-style: normal;
    line-height: normal;
    font-family: "DIN Pro Bold";
    margin-bottom: 12px;
}

.voucher__container img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    margin-top: 20px;
}

.shop__content {
    display: flex;
    flex-direction: column;
}

.shop__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 20px;
    align-self: center;
    border: 1px solid #000;
}