body {
    background: linear-gradient(45deg, #ff9a9e, #fad0c4);
    font-family: 'Kanit', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#app {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
}

h1 {
    font-family: 'Fugaz One', cursive;
    color: #FF4081;
    margin-bottom: 10px;
}

.styled-button {
    background-color: #FF6F61;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
}

.styled-button:hover {
    background-color: #FF4081;
}

.glow-button {
    box-shadow: 0 0 10px #FF6F61, 0 0 20px #FF4081, 0 0 30px #FF6F61;
    transition: box-shadow 0.3s;
}

.glow-button:hover {
    box-shadow: 0 0 15px #FF6F61, 0 0 30px #FF4081, 0 0 45px #FF6F61;
}

.styled-input, .styled-select {
    padding: 10px;
    width: 100%;
    border: 1px solid #FF6F61;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.select-container {
    margin-bottom: 15px;
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.final-result {
    font-size: 30px;
    color: #FF4081;
    animation: sparkle 0.5s infinite alternate;
    margin-top: 20px;
}

@keyframes sparkle {
    0% { transform: scale(1); color: #FF4081;}
    50% { transform: scale(1.2); color: #FFD700;}
    100% { transform: scale(1); color: #FF4081;}
}

.highlight {
    background-color: #FFFACD;
    border-radius: 10px;
    padding: 10px;
    margin-top: 15px;
}

.manage-link {
    display: block;
    margin-top: 25px;
    text-decoration: none;
    color: #FF4081;
    font-size: 18px;
}
.check-link {
    margin-top: 20px;
    text-align: center;
}

.check-link a {
    text-decoration: none;
    color: #FF4081;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
}

.check-link a:hover {
    color: #FF6F61;
}

#loadingIndicator {
    font-family: 'Kanit', sans-serif;
    color: #666;
    font-size: 1rem;
    animation: blink 1.2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    font-family: 'Kanit', sans-serif;
}

.close-button {
    float: right;
    font-size: 1.5em;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

.close-button:hover {
    color: #f00;
}

#modalContent ul {
    list-style: none;
    padding-left: 0;
}

#modalContent li {
    margin: 6px 0;
}


