/**
 *******************************
 * @author Satheesh PM
 * @copyright 2025
 * @Email admin@annlabs.in
 * @Website www.annlabs.in
 *******************************
 */

body {
    font-family: sans-serif;
    color: #fff;
    margin: 25px;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.6;
    background: #667eea; /*url("../img/ann_logo.png");*/
    background-position: bottom center;
    background-repeat: no-repeat;
}
a{ color: #667eea; text-decoration: none;}
a:hover{color:yellow;}
p{
    text-align:justify;
}
.container {
    background: #2d2e3e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    max-width: 700px;
    width: 98%;
    text-align: center;
    margin-bottom:132px;
}

h3, h4 {
    color: #ffffff;
    margin-top: 0;
    line-height: 1.6;
}
h2{
    border-bottom:1px solid #fff;
}
ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#options-list li {
    background: #2a2e3a;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 6px;
}

.option {
    background: #4c51bf;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background 0.3s ease;
}

.option:hover {
    background: #FF9FA8;
}
#question-text{
    margin-bottom: 25px;
    padding : 10px 10px 25px 10px;
    border-bottom:1px solid #fff;
}

#options-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#options-list li {
    margin-bottom: 10px;
}

/* Two-column layout when class is applied */
#options-list.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

#options-list.two-column li {
    margin-bottom: 0; /* Grid will handle spacing */
}

.selected-option {
    background: #48bb78 !important;
    font-weight: bold;
}

#next-question {
    margin-top: 20px;
    background: #38b2ac;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    display: none;
}

#next-question:hover {
    background-color: #FF9FA8;
}

.vote-result {
    margin-top: 6px;
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.6;
}

.progress-bar {
    background: #2d3748;
    border-radius: 6px;
    overflow: hidden;
    height: 10px;
    margin-top: 4px;
}

.progress {
    background: #63b3ed;
    height: 100%;
    width: 0%;
    transition: width 0.8s ease-out;
}

#feedback-section {
    margin-top: 30px;
    display: none;
}

input, textarea {
    width: 100%;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    border: none;
    resize: vertical;
    line-height: 1.6;
}

#submit-feedback {
    margin-top: 10px;
    background: #48bb78;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

#submit-feedback:hover {
    background-color: #38a169;
}

#thank-you-message {
    margin-top: 15px;
    color: #68d391;
    display: none;
    line-height: 1.6;
    text-align:center;
}

#start-poll {
    background: #4fd1c5;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

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

.sticky-footer {
    position:fixed;
    bottom: 0;
    width:99%;
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    z-index: 1000;
    display:none;
}
input{width:100%; padding:10px; border-radius:8px; margin-bottom:10px; font-size:14px; border:none;
}
textarea{
    margin-top:10px;
}
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    .option, #next-question, #submit-feedback {
        font-size: 14px;
        padding: 10px;
    }
}
