@font-face {
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-weight: 300;
    font-display: block;
    src: url("webfonts/fa-light-300.eot");
    src: url("webfonts/fa-light-300.eot?#iefix") format("embedded-opentype"), url("webfonts/fa-light-300.woff2") format("woff2"), url("webfonts/fa-light-300.woff") format("woff"), url("webfonts/fa-light-300.ttf") format("truetype"), url("webfonts/fa-light-300.svg#fontawesome") format("svg"); 
}
  
body,html{
    margin: 0;
    padding: 0;
    background-color: #0A1A5C;
    /* background-color: #000000; */
    position: relative;
    font-size: 12px;
    width: 100%;
    height: 100%;

}
.banner{
    margin-top: 10px;
}
.block-poll {
    /* margin-top: 30px; */
    /* padding:20px; */
    padding-top: 10px;
    width: 100%;
    /* background-color: #fff; */
    /* border-radius: 10px; */
    min-height: 100px;
}

/* .block-page{
    padding-left: 80px!important;
    padding-right: 80px!important;
} */
.fields {
    font-family: 'Kanit';
    padding: 30px 60px;
}

.fields-banner {
    padding: 50px 60px;
}
@media only screen and (max-width: 760px) {
    .block-page{
        padding-left: 20px!important;
        padding-right: 20px!important;
    }
    .fields {
        padding: 30px 20px;
    }

    .fields-banner {
        padding: 20px 20px;
    }
}

.revealfield {
    animation: revealfield 0.5s linear forwards;
}

.radiofield {
    width: 100%;
    height: 60px;
    margin-bottom: 15px;
    opacity: 1;
    position: relative;
    /* display: grid; */
    display: flex;
}

.radiofield input[type=radio]:checked {
    border-color: #d3aa59;
    background-color: #d3aa59;
}

.radiofield input[type=radio] {
    -webkit-appearance: none;
    position: absolute;
    background-color:#fff;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    z-index: 0;
    cursor: pointer;
    border: solid 1px #c9c9c9;
    transition: 0.4s all;
}

.radiofield input[type=radio]:checked::before {
    animation: check-pop 0.4s linear forwards;
}

.radiofield input[type=radio]:checked::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    color: #d3aa59;
    font-size: 14px;
    background-color: #000;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    text-align: center;
    position: absolute;
    top: 30%;
    left: 20px;
}

.radiofield input[type=radio]::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    color: #fff;
    font-size: 14px;
    background-color: #ccc;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    text-align: center;
    position: absolute;
    top: 30%;
    left: 20px;
}

.radiofield label {
    pointer-events: none;
}

.radiofield label, .result {
    font-size:14px;
    color:#000;
    font-weight: bold;
    padding-left: 55px;
    font-family: 'Quicksand';
    font-weight: bold;
    text-align: left;
    align-items: center;
    display: flex;
    align-items: center;
    z-index: 10;
    padding-right: 10px;
    position: relative;
    height: 60px;
    /* line-height: 70px; */
}

.next-prev-button button {
    width: 45%;
    border: 0;
    border-radius: 50px;
    height: 60px;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.next-prev-button .next, .apply {
    background-image: -moz-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    background-image: -webkit-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    background-image: -ms-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    color: rgb(255, 255, 255);
}

.category {
    /* border-bottom: 1px solid #ddd; */
    color:#d3aa59
 
}
.sub-category {
    width: 100%;
    text-align: left;
    color:#d3aa59;
    font-size: 30px;
    font-weight: bold;
}

.poll-header {
    font-size: 20px;
    font-weight: bold;
    color:#333;
    text-align: left;
    width: 100%;
    margin-bottom: 15px;
    /* border-bottom: 1px dashed #d3aa59; */
}
.poll-category{
    margin-top: 40px;
}
.text-upper {
    text-transform: uppercase;
}
.body-font {
    font-family: var(--body-font);
}
.title-h2 {
    font-size: 40px;
    letter-spacing: 2px;
}
*:not(.swiper-parallax-transform) {
    transition: none;
}


.experience .exp-number {
    /* background-image: url(../img/bg-2.svg); */
    color: transparent;
    /* -webkit-text-stroke: 1.5px #fff; */
    font-family: 'Kanit';
    color: #fff;
    /* -webkit-text-fill-color: transparent; */
    /* -webkit-background-clip: text; */
    /* background-clip: text;
    transform: scale3d(1, 1.2, 1);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
    /* max-width: 570px; */
    font-size: 100px;
    font-weight: 600;
    line-height: 90px;
    padding-bottom: 20px;
}

.nav-users{
    display: flex;
    color: #f5f5f5;
    cursor: pointer;
}

.nav-users i {
    font-size: 22px;
}
.nav-users span {
    font-size: 14px;
    margin-left: 15px;
    margin-top: 4px;
}

.form-register input {
    padding-top: 12px;
    padding-bottom: 10px;
    border-radius: 20px;
    font-size: 14px;
    padding-left:20px;
    font-weight: normal;
}

.form-register input::placeholder {
    font-size: 12px;
    /* padding-left:10px; */
 }

.form-register .form-group {
    margin-top: 10px;
    margin-bottom: 20px;
}

.thankyou {
    width: 100%;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
}

.thankyou i {
    font-size: 50px;
    color:#53a653;
}

.thankyou-text {
    margin-top: 20px;
    font-size: 30px;
}
.userinfo {
    font-family: 'Quicksand';
}
.userinfo button {
    background-color: transparent;
    color: #fff;
    border:none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.userinfo button i {
    font-size: 30px;
    padding: 0;
}
.userinfo button span {
    /* margin-top: -8px; */
    font-size: 16px;
    padding-left: 10px;
    padding-right: 5px;
    line-height: 1;
}

/* .form-register .form-group label {
    font-size: 14px;
    padding-left: 5px;
    margin-bottom: 5px;
} */

.navbar-menu-custom ul{
    margin-left: 15px;
    margin-top: 5px;
}
.navbar-menu-custom ul li a {
    color:#fff;
    font-size: 16px;
    font-family: 'Quicksand';
}

.navbar-menu-custom ul li a:hover {
    color:#eeee;
   
}

.navbar-menu-custom ul li a.active {
    color:#fff;
    font-size: 16px;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color:#fff;
}

.block-title-life img {
    width: 150px;
}
.block-section {
    text-align: center; 
    padding-bottom:50px; 
    align-self: center;
}
@media only screen and (max-width: 760px) {
    .block-title-life img {
        width: 80px;
    }
    .title-h2{
        font-size: 20px;
    }
    .experience .exp-number{
        font-size: 50px;
        line-height: 50px;
    }

    .block-section {
        padding-bottom: 20px;
    }

    .next-prev-button button {
        width: 80%;
    }
    /* .modal.show .modal-dialog {
        padding-left: 3px;
        padding-right: 20px;
    } */
   
}

.form-signin input, .form-register input {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    padding-left: 15px;
    border-radius: 15px;
    border:1px solid #888;
}

.form-signin label, .form-register label {
    margin-left: 5px;
    margin-top: 10px;
    font-weight: bold;
    font-size: 16px;
    font-family: 'Quicksand';
    margin-bottom: 5px;
}


.button-submit {
    padding:10px 30px;
    border: 0;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    /* font-weight: bold; */
    position: relative;
    font-family: 'Quicksand';
    overflow: hidden;
}

.button-submit {
    background-image: -moz-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    background-image: -webkit-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    background-image: -ms-linear-gradient( 14deg, rgb(103,23,205) 0%, rgb(40,113,250) 100%);
    color: rgb(255, 255, 255);
}


.form-register .alert {
    font-size: 14px;
    font-family: 'Quicksand';
    font-weight: bold;
}
button a {
    all: unset;
    cursor: pointer;
}


.nav-users a,a button,.thankyou-text a {
    all: unset;
    cursor: pointer;
}

.radiofield-award {
    width: 100%;
    height: 60px;
    margin-bottom: 15px;
    opacity: 1;
    position: relative;
    /* display: grid; */
    display: flex;
}

.radiofield-award input[type=radio]:checked {
    border-color: #d3aa59;
    background-color: #d3aa59;
}

.radiofield-award input[type=radio] {
    -webkit-appearance: none;
    position: absolute;
    background-color:#fff;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    z-index: 0;
    cursor: pointer;
    border: solid 1px #c9c9c9;
    transition: 0.4s all;
}

.radiofield-award input[type=radio]:checked::before {
    animation: check-pop 0.4s linear forwards;
}

.radiofield-award input[type=radio]:checked::before {
    content: "\f559";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    color: #d3aa59;
    font-size: 14px;
    background-color: #000;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    text-align: center;
    position: absolute;
    top: 30%;
    left: 20px;
}

.radiofield-award input[type=radio]::before {
    content: "\f559";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    color: #fff;
    font-size: 14px;
    background-color: #ccc;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    text-align: center;
    position: absolute;
    top: 30%;
    left: 20px;
}

.radiofield-award label {
    pointer-events: none;
}

.radiofield-award label, .result {
    font-size:14px;
    color:#000;
    font-weight: bold;
    padding-left: 55px;
    font-family: 'Quicksand';
    font-weight: bold;
    text-align: left;
    align-items: center;
    display: flex;
    align-items: center;
    z-index: 10;
    padding-right: 10px;
    position: relative;
    height: 60px;
    /* line-height: 70px; */
}

.reward-no{
    width: 50px;
}
.reward-item {
    font-size: 20px;
}
.reward-description {
    font-size: 11px;
    color:#333333;
}

.reward-lucky {
    font-size: 18px;
    color:#0057D2;
}

.poll-bottom {
    font-size: 16px;
    margin-top: 50px;
    margin-bottom: 50px;
    color: #AA0808;
}

.description {
    font-size: 8px!important;
    color: #333
}

/* ==================== HOME / VOTE CARDS ==================== */

h2.subcategory-header {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: center;
    margin: 50px 0 20px;
    font-family: 'Kanit', 'Sarabun', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.35;
}
h2.subcategory-header::before,
h2.subcategory-header::after {
    content: '';
    flex: 1 1 0;
    height: 1px;
    min-width: 16px;
    background: rgba(217, 217, 217, 0.55);
}
h2.subcategory-header > span {
    flex: 0 1 auto;
    max-width: calc(100% - 48px);
    padding: 0 4px;
    background: none;
}
h2.subcategory-header > span > span {
    display: inline;
    color: #d3aa59;
    background: none;
    -webkit-text-fill-color: #d3aa59;
    word-break: break-word;
}

@media only screen and (max-width: 767px) {
    h2.subcategory-header { font-size: 18px; gap: 10px; }
}
@media only screen and (max-width: 500px) {
    h2.subcategory-header { font-size: 16px; gap: 8px; }
}

.section-category {
    margin-top: 50px;
    position: relative;
}

@media only screen and (max-width: 767px) {
    .section-category { margin-top: 28px; }
}
@media only screen and (max-width: 500px) {
    .section-category { margin-top: 18px; }
}

/* Vote card */
.card.vote {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    text-align: center;
    padding-bottom: 10px;
}
.card.vote:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.card.vote.active {
    border-color: #FFE600;
    box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.65), 0 6px 22px rgba(255, 214, 0, 0.45);
}
.card.vote img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.card.vote img.vote-photo {
    cursor: zoom-in;
}

/* Vote photo lightbox */
.vote-photo-modal {
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    text-align: center;
}
.vote-photo-modal img#votePhotoFull {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
    background: #111;
}
.vote-photo-close {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.vote-photo-close:hover {
    background: #d3aa59;
    color: #0A1A5C;
}
.vote-photo-caption {
    margin-top: 12px;
    color: #fff;
    font-family: 'Kanit', 'Sarabun', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.vote-photo-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 200px;
    color: #fff;
    font-family: 'Kanit', 'Sarabun', sans-serif;
    font-size: 15px;
}
.vote-photo-loader i {
    font-size: 28px;
    color: #d3aa59;
}
#votePhotoModal .modal-dialog {
    max-width: min(900px, 94vw);
}
#votePhotoModal .modal-content {
    background: transparent;
}

.item-name {
    font-family: 'Kanit', 'Sarabun', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    padding: 8px 8px 2px;
    margin: 0;
    min-height: 42px;
}

.vote-btn {
    padding: 6px 10px 4px;
}

.btn-yellow {
    background: linear-gradient(135deg, #d3aa59, #f0cd80);
    color: #1a1a1a;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 20px;
    font-family: 'Kanit', sans-serif;
    transition: opacity 0.2s;
    width: 100%;
}
.btn-yellow:hover:not(:disabled) {
    opacity: 0.85;
    color: #1a1a1a;
}
.btn-yellow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.score {
    font-size: 11px;
    color: #888;
    padding: 2px 8px 0;
}

/* Non-award items: dimmed (not hidden) */
.drop > * {
    opacity: 0.3;
}

/* Submit vote button */
.button-submit-vote {
    background: linear-gradient(135deg, #d3aa59, #f0cd80);
    color: #1a1a1a;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
    padding: 14px 30px;
    margin-top: 30px;
    transition: opacity 0.2s, transform 0.2s;
    letter-spacing: 0.5px;
}
.button-submit-vote:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-2px);
    color: #1a1a1a;
}
.button-submit-vote:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media only screen and (max-width: 767px) {
    .button-submit-vote {
        font-size: 14px;
        padding: 12px 20px;
        margin-top: 22px;
        border-radius: 24px;
    }
}
@media only screen and (max-width: 500px) {
    .button-submit-vote {
        font-size: 13px;
        padding: 10px 16px;
        margin-top: 16px;
        border-radius: 20px;
        letter-spacing: 0.2px;
    }
}
