/* Osnovni stilovi za kontejner */
#quiz-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff, #eef2f6);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Arial', sans-serif;
    position: relative;
}

/* Progress bar */
#progress-bar-container {
    width: 100%;
    height: 10px;
    background: #e0e6ed;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    background: #009AAB;
    width: 0;
    transition: width 0.5s ease;
    border-radius: 5px;
}

/* Naslov kviza */
h2 {
    text-align: center;
    color: #1e2a44;
    font-size: 2.2em;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
}

/* Pitanje */
.question {
    margin-bottom: 25px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.question h3 {
    color: #2c3e50;
    font-size: 23px;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 600;
}

/* Dugmad za odgovore */
.answers {
    display: grid;
    gap: 15px;
}

.answer-btn {
    padding: 14px 20px;
    background: #f7f9fc;
    border: 2px solid #b0bec5;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.15em;
    color: #1e2a44;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.answer-btn:hover {
    background: #009AAB;
    border-color: #009AAB;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.answer-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Povratne informacije */
.correct {
    background: #27ae60 !important;
    border-color: #219653 !important;
    color: #ffffff !important;
    font-weight: bold;
}

.wrong {
    background: #c0392b !important;
    border-color: #a93226 !important;
    color: #ffffff !important;
    font-weight: bold;
}

/* Rezultat */
#result-container {
    text-align: center;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

#result-container h3 {
    color: #1e2a44;
    font-size: 25px;
    margin-bottom: 20px;
}

#result-container p {
    font-size: 1.25em;
    color: #2c3e50;
    margin-bottom: 25px;
}

#score {
    font-weight: bold;
    color: #009AAB;
    font-size: 1.2em;
}

/* Dugme za restart */
#restart-quiz {
    padding: 14px 35px;
    background: #009AAB;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.15em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

#restart-quiz:hover {
    background: #009AAB;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Animacije */
.answer-btn {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responzivnost */
@media (max-width: 600px) {
    #quiz-container {
        margin: 0px;
        padding: 10px;
    }

    .question h3 {
        font-size: 1.2em;
    }

    .answer-btn {
        font-size: 1em;
        padding: 12px 15px;
    }

    #restart-quiz {
        font-size: 1em;
        padding: 12px 25px;
    }

    #progress-bar-container {
        height: 8px;
    }
}