body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    height: 100vh;
}

#quiz {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    max-width: 500px;
    height: 80%;
}

#quiz h1 {
    margin-bottom: 20px;
    color: #1f2937;
    text-align: center;
}

#quiz-start {
    margin-top: 10px;
    background-color: #4fd1c5;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: 0.3s;
}

#quiz-start:hover {
    background-color: #38b2ac;
}

#quiz-box {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

#quiz-box h3#title {
    font-size: 1.2em;
    color: #0f172a;
    margin-bottom: 20px;
}

.ansChoices {
    counter-reset: option;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    counter-increment: option;
    padding: 12px 16px;
    text-align: left;
    font-size: 1em;
    cursor: pointer;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    background-color: #f8fafc;
    transition: 0.3s;
    position: relative;
}

.option-btn::before {
    content: counter(option, lower-alpha) ". ";
    font-weight: bold;
    margin-right: 6px;
}

.option-btn:hover {
    background-color: #e2e8f0;
}

.option-btn.selected {
    background-color: #38b2ac;
    color: white;
    border-color: #319795;
}

.next-btn {
    background-color: #4fd1c5;
    border: none;
    margin-top: 20px;
    align-self: flex-end;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 1em;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

#next-btn:hover {
    background-color: #38b2ac;
}

#result h3 {
    margin-top: 20px;
    color: #1f2937;
    text-align: center;
}

#result button{
    margin: 20px;
    background-color: #4fd1c5;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: 0.3s;
}