/**** begin card style ****/
.card.card-result-container,
.card.card-result-container > .card-body {
    border-radius: 12px;
}
.card.card-result {
    border-radius: 0;
    min-width: 340px;
    max-width: 500px;
    margin: 0 auto;
}
.card.card-result > .card-header {
    border-radius: 12px 12px 0 0;
}
.card.card-result .card-body {
    border-radius: 0;
}
.card.card-result > .card-body:last-child {
    border-radius: 0 0 12px 12px;
}
.card.card-result .box-date {
    max-width: 120px;
    border-radius: 0;
}
.card.card-result .box-date h1,
.card.card-result .box-date h3,
.card.card-result .box-date h5 {
    line-height: 1 !important;
}
.card.card-result .box-date h1 {
    font-size: 68px;
}
.card.card-result .box-date h3 {
    font-size: 30px;
}
.card.card-result .box-date h5 {
    font-size: 26px;
}
.card.card-result .prize .prize-block {
    position: relative;
    display: inline-block;
    margin: 0;
    width: 40px;
    height: 40px;
    background-color: var(--color-7);
    border: 2px solid #071330;
    border-radius: 50px;
    padding: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.65);
}
.card.card-result .prize .prize-block.winner {
    background-color: var(--color-9);
}
.card.card-result .prize .prize-block:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 12px;
    width: 16px;
    height: 16px;
    background-color: rgba(225, 225, 225, 0.65);
    border-radius: 50px;
}
.card.card-result .prize .prize-block .prize-digit {
    position: relative;
    width: 26px;
    height: 26px;
    line-height: 27px;
    color: #ffffff;
    border-radius: 50px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}
.card.card-result.history .prize .prize-block,
.card.card-result .prize .prize-block.mini {
    width: 30px;
    height: 30px;
    border: 2px solid #071330;
    padding: 3px;
    margin: 0;
}
.card.card-result.history .prize .prize-block:after,
.card.card-result .prize .prize-block.mini:after {
    top: 1px;
    left: 7.5px;
    width: 10px;
    height: 10px;
}
.card.card-result.history .prize .prize-block .prize-digit,
.card.card-result .prize .prize-block.mini .prize-digit {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 16px;
}

.card.card-detail {
    border-radius: 8px;
    max-width: 373px;
}
.card.card-detail .prize-block {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 3px;
    width: 30px;
    height: 30px;
    background-color: var(--color-9);
    border: 2px solid #071330;
    border-radius: 50px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.65);
}
.card.card-detail .prize-block:after {
    content: "";
    position: absolute;
    top: 1px;
    left: 7.5px;
    width: 10px;
    height: 10px;
    background-color: rgba(225, 225, 225, 0.65);
    border-radius: 50px;
}
.card.card-detail .prize-block .prize-digit {
    position: relative;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 16px;
    color: #ffffff;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
}
.card.card-detail .card-footer .button-wrapper {
    display: block;
    position: relative;
}
.card.card-detail .card-footer .button-wrapper::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 10px;
    background-color: var(--color-9);
    border-radius: 0 0 8px 8px;
}
.card.card-detail .card-footer .button-wrapper .btn.btn-warning {
    color:whitesmoke;
    display: block;
    position: relative;
    background-color: var(--color-9) !important;
    border: none;
    border-radius: 20px 20px 0 0;
    outline: none !important;
}
.card.card-detail .card-footer .button-wrapper .btn.btn-warning::before {
    color:whitesmoke;
    content: "";
    position: absolute;
    top: 4px;
    left: -23px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-bottom: 23px solid var(--color-9);
}
.card.card-detail .card-footer .button-wrapper .btn.btn-warning::after {
    color:whitesmoke;
    content: "";
    position: absolute;
    top: 4px;
    right: -23px;
    width: 0;
    height: 0;
    border-right: 30px solid transparent;
    border-bottom: 23px solid var(--color-9);
}
.card-header {
    background-color: #000;
    border-radius: 0 0 8px 8px;
}