@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Noto+Sans+Thai:wdth,wght@62.5..100,100..900&display=swap');


* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

* {
    font-family: "Manrope", "Noto Sans Thai",  sans-serif;
    font-size: 14px;
    color: #0F0F0F;
}

/* -----------------------------------
   Emoji Style
------------------------------------ */
.img-logo {
    width: 130px !important;
}
#emoji {
    padding-left: 0 !important;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem; /* ช่องว่างระหว่าง emoji */
}

#emoji li {
    display: flex;
    align-items: center;
    justify-content: center;
}

#emoji li label .container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

#emoji li img {
    filter: invert(0.85);
    width: 32px;      /* 🔧 ลดขนาดไอคอนให้พอดีกับวงกลม */
    height: 32px;
    border-radius: 50%;
    transition: filter 0.2s ease;
}

/* Hover effects */
#emoji li:first-child .container:hover {
    background-color: #BF1809;
}
#emoji li:last-child .container:hover {
    background-color: #09BF6D;
}
#emoji li .container:hover img {
    filter: invert(1);
}

/* Checked styles */
#emoji input[type=radio]#B:checked + label .container {
    background-color: #BF1809;
}
#emoji input[type=radio]#G:checked + label .container {
    background-color: #09BF6D;
}
#emoji input[type=radio]:checked + label .container img {
    filter: invert(1);
}

/* Hide original radio */
input[type=radio] {
    display: none;
}

/* -----------------------------------
   Input / Textarea
------------------------------------ */
button,
input[type=text],
input[type=number],
textarea {
    border-radius: 8px;
}

input[type=text],
input[type=number],
textarea {
    border: 1px solid #9b9b9b;
    color: #0F0F0F;
    padding: 5px;
}

/* -----------------------------------
   Button
------------------------------------ */
button {
    background-color: #0F0F0F;
    color: white;
    border: none;
    padding: 10px 10px;
    font-weight: 500;
    line-height: 1.25;
}

button:active {
  background-color: #0F0F0F;
  transform: scale(0.95);
}

button span {
    color: white !important;
}

.nobg {
    background-color: transparent !important;
    color: #0F0F0F;
}

/* -----------------------------------
   SweetAlert (swal)
------------------------------------ */
.swal-footer {
    display: flex;
    justify-content: center;
}

.swal-text {
    font-size: 14px;
    position: relative;
    float: none;
    line-height: normal;
    vertical-align: top;
    text-align: left;
    display: inline-block;
    margin: 0;
    padding: 0 10px;
    font-weight: 400;
    color: #0F0F0F;
    max-width: calc(100% - 20px);
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.swal-button {
    background-color: #0F0F0F;
    color: #fff;
    border: none;
    box-shadow: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    margin: 0;
    cursor: pointer;
}

.swal-button:not([disabled]):hover {
    background-color: #0F0F0F !important;
}
/* -----------------------------------
   Misc
------------------------------------ */
.rounded-bottom {
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

