@font-face {
    font-family: Noto Sans Lao;
    src: url(../fonts/NotoSansLao-Regular.ttf);
}

body {
    background-color: #222426;
    font-family: Roboto, Noto Sans Lao !important;
}

button {
    font-family: Roboto, Noto Sans Lao !important;
}

.label {
    font-weight: 500 !important;
}

.has-text-center {
    text-align: center;
}

.left-border {
    border-left: solid 5px #A3002E;
}

.card-header-h3 {
    font-size: 0.9rem !important;
}

.card-header-h2 {
    font-size: 1.2rem !important;
}

.card-header-h1 {
    font-size: 1.7rem !important;
}

.card-header-custom {
    background-color: rgba(255, 255, 255, 0.5);
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    color: #fff;
}

.card {
    background-color: transparent !important;
}

.validate-symbol {
    color: red;
}


/* Currency Option */
.wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: space-evenly;
}

.wrapper .option {
    background: #fff;
    /* padding-right: 3rem !important; */
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid lightgrey;
    transition: all 0.3s ease;
}

.wrapper .option .dot {
    height: 20px;
    width: 20px;
    background: #d9d9d9;
    border-radius: 50%;
    position: relative;
}

.wrapper .option .dot::before {
    position: absolute;
    content: "";
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    background: #03b000;
    border-radius: 50%;
    opacity: 0;
    transform: scale(1.5);
    transition: all 0.3s ease;
}

input[type="radio"] {
    display: none;
}

/* sell */
#option-lak-sell:checked:checked~.option-lak-sell,
#option-usd-sell:checked:checked~.option-usd-sell,
#option-thb-sell:checked:checked~.option-thb-sell {
    border-color: #03b000;
    background: #03b000;
    box-shadow: 0px 0px 5px 2px #03b000;
}

#option-lak-sell:checked:checked~.option-lak-sell .dot,
#option-usd-sell:checked:checked~.option-usd-sell .dot,
#option-thb-sell:checked:checked~.option-thb-sell .dot {
    background: #fff;
}

#option-lak-sell:checked:checked~.option-lak-sell .dot::before,
#option-usd-sell:checked:checked~.option-usd-sell .dot::before,
#option-thb-sell:checked:checked~.option-thb-sell .dot::before {
    opacity: 1;
    transform: scale(1);
}

#option-lak-sell:checked:checked~.option-lak-sell span,
#option-usd-sell:checked:checked~.option-usd-sell span,
#option-thb-sell:checked:checked~.option-thb-sell span {
    color: #fff;
}

/* buy */
#option-lak-buy:checked:checked~.option-lak-buy,
#option-usd-buy:checked:checked~.option-usd-buy,
#option-thb-buy:checked:checked~.option-thb-buy {
    border-color: #03b000;
    background: #03b000;
    box-shadow: 0px 0px 5px 2px #03b000;
}

#option-lak-buy:checked:checked~.option-lak-buy .dot,
#option-usd-buy:checked:checked~.option-usd-buy .dot,
#option-thb-buy:checked:checked~.option-thb-buy .dot {
    background: #fff;
}

#option-lak-buy:checked:checked~.option-lak-buy .dot::before,
#option-usd-buy:checked:checked~.option-usd-buy .dot::before,
#option-thb-buy:checked:checked~.option-thb-buy .dot::before {
    opacity: 1;
    transform: scale(1);
}

#option-lak-buy:checked:checked~.option-lak-buy span,
#option-usd-buy:checked:checked~.option-usd-buy span,
#option-thb-buy:checked:checked~.option-thb-buy span {
    color: #fff;
}

/* gold plate 15g buy */
#option-lak-gold-plate-15g-buy:checked:checked~.option-lak-gold-plate-15g-buy,
#option-usd-gold-plate-15g-buy:checked:checked~.option-usd-gold-plate-15g-buy,
#option-thb-gold-plate-15g-buy:checked:checked~.option-thb-gold-plate-15g-buy {
    border-color: #03b000;
    background: #03b000;
    box-shadow: 0px 0px 5px 2px #03b000;
}

#option-lak-gold-plate-15g-buy:checked:checked~.option-lak-gold-plate-15g-buy .dot,
#option-usd-gold-plate-15g-buy:checked:checked~.option-usd-gold-plate-15g-buy .dot,
#option-thb-gold-plate-15g-buy:checked:checked~.option-thb-gold-plate-15g-buy .dot {
    background: #fff;
}

#option-lak-gold-plate-15g-buy:checked:checked~.option-lak-gold-plate-15g-buy .dot::before,
#option-usd-gold-plate-15g-buy:checked:checked~.option-usd-gold-plate-15g-buy .dot::before,
#option-thb-gold-plate-15g-buy:checked:checked~.option-thb-gold-plate-15g-buy .dot::before {
    opacity: 1;
    transform: scale(1);
}

#option-lak-gold-plate-15g-buy:checked:checked~.option-lak-gold-plate-15g-buy span,
#option-usd-gold-plate-15g-buy:checked:checked~.option-usd-gold-plate-15g-buy span,
#option-thb-gold-plate-15g-buy:checked:checked~.option-thb-gold-plate-15g-buy span {
    color: #fff;
}

/* gold plate 15g sell */
#option-lak-gold-plate-15g-sell:checked:checked~.option-lak-gold-plate-15g-sell,
#option-usd-gold-plate-15g-sell:checked:checked~.option-usd-gold-plate-15g-sell,
#option-thb-gold-plate-15g-sell:checked:checked~.option-thb-gold-plate-15g-sell {
    border-color: #03b000;
    background: #03b000;
    box-shadow: 0px 0px 5px 2px #03b000;
}

#option-lak-gold-plate-15g-sell:checked:checked~.option-lak-gold-plate-15g-sell .dot,
#option-usd-gold-plate-15g-sell:checked:checked~.option-usd-gold-plate-15g-sell .dot,
#option-thb-gold-plate-15g-sell:checked:checked~.option-thb-gold-plate-15g-sell .dot {
    background: #fff;
}

#option-lak-gold-plate-15g-sell:checked:checked~.option-lak-gold-plate-15g-sell .dot::before,
#option-usd-gold-plate-15g-sell:checked:checked~.option-usd-gold-plate-15g-sell .dot::before,
#option-thb-gold-plate-15g-sell:checked:checked~.option-thb-gold-plate-15g-sell .dot::before {
    opacity: 1;
    transform: scale(1);
}

#option-lak-gold-plate-15g-sell:checked:checked~.option-lak-gold-plate-15g-sell span,
#option-usd-gold-plate-15g-sell:checked:checked~.option-usd-gold-plate-15g-sell span,
#option-thb-gold-plate-15g-sell:checked:checked~.option-thb-gold-plate-15g-sell span {
    color: #fff;
}

/* gold plate 30g buy */
#option-lak-gold-plate-30g-buy:checked:checked~.option-lak-gold-plate-30g-buy,
#option-usd-gold-plate-30g-buy:checked:checked~.option-usd-gold-plate-30g-buy,
#option-thb-gold-plate-30g-buy:checked:checked~.option-thb-gold-plate-30g-buy {
    border-color: #03b000;
    background: #03b000;
    box-shadow: 0px 0px 5px 2px #03b000;
}

#option-lak-gold-plate-30g-buy:checked:checked~.option-lak-gold-plate-30g-buy .dot,
#option-usd-gold-plate-30g-buy:checked:checked~.option-usd-gold-plate-30g-buy .dot,
#option-thb-gold-plate-30g-buy:checked:checked~.option-thb-gold-plate-30g-buy .dot {
    background: #fff;
}

#option-lak-gold-plate-30g-buy:checked:checked~.option-lak-gold-plate-30g-buy .dot::before,
#option-usd-gold-plate-30g-buy:checked:checked~.option-usd-gold-plate-30g-buy .dot::before,
#option-thb-gold-plate-30g-buy:checked:checked~.option-thb-gold-plate-30g-buy .dot::before {
    opacity: 1;
    transform: scale(1);
}

#option-lak-gold-plate-30g-buy:checked:checked~.option-lak-gold-plate-30g-buy span,
#option-usd-gold-plate-30g-buy:checked:checked~.option-usd-gold-plate-30g-buy span,
#option-thb-gold-plate-30g-buy:checked:checked~.option-thb-gold-plate-30g-buy span {
    color: #fff;
}

/* gold plate 30g sell */
#option-lak-gold-plate-30g-sell:checked:checked~.option-lak-gold-plate-30g-sell,
#option-usd-gold-plate-30g-sell:checked:checked~.option-usd-gold-plate-30g-sell,
#option-thb-gold-plate-30g-sell:checked:checked~.option-thb-gold-plate-30g-sell {
    border-color: #03b000;
    background: #03b000;
    box-shadow: 0px 0px 5px 2px #03b000;
}

#option-lak-gold-plate-30g-sell:checked:checked~.option-lak-gold-plate-30g-sell .dot,
#option-usd-gold-plate-30g-sell:checked:checked~.option-usd-gold-plate-30g-sell .dot,
#option-thb-gold-plate-30g-sell:checked:checked~.option-thb-gold-plate-30g-sell .dot {
    background: #fff;
}

#option-lak-gold-plate-30g-sell:checked:checked~.option-lak-gold-plate-30g-sell .dot::before,
#option-usd-gold-plate-30g-sell:checked:checked~.option-usd-gold-plate-30g-sell .dot::before,
#option-thb-gold-plate-30g-sell:checked:checked~.option-thb-gold-plate-30g-sell .dot::before {
    opacity: 1;
    transform: scale(1);
}

#option-lak-gold-plate-30g-sell:checked:checked~.option-lak-gold-plate-30g-sell span,
#option-usd-gold-plate-30g-sell:checked:checked~.option-usd-gold-plate-30g-sell span,
#option-thb-gold-plate-30g-sell:checked:checked~.option-thb-gold-plate-30g-sell span {
    color: #fff;
}

.wrapper .option span {
    font-size: 20px;
    /* color: #808080; */
}

/* Alert ////==================== */
#success_alert {
    position: fixed;
    top: 10vh;
    right: -290px;
    z-index: 100;
    transition: ease 0.3s;
}

#success_alert.active {
    right: 10px;
}

#error_alert {
    position: fixed;
    top: 10vh;
    right: -450px;
    z-index: 100;
    transition: ease 0.3s;
}

#error_alert.active {
    right: 10px;
}

.button.is-custom-primary.is-outlined {
    background-color: transparent;
    color: #FFF;
    border-color: #FFF;
    border-style: solid;
}

.button.is-custom-primary.is-outlined:hover {
    background-color: transparent;
    color: #f2cc00;
    border-color: #f2cc00;
    border-style: solid;
}