/* =========================================
   UMUMIY
========================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f1e5;
    color: #263238;
}


/* =========================================
   HEADER
========================================= */

.audio-header {
    background: linear-gradient(135deg, #173f35, #285c4d);
    color: white;
    padding: 25px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-content {
    max-width: 1000px;
    margin: auto;
    position: relative;
    text-align: center;
}

.audio-header h1 {
    margin: 5px 0;
    font-size: 32px;
}

.audio-header p {
    margin: 8px 0 0;
    font-size: 17px;
}

.back-btn {
    position: absolute;
    left: 0;
    top: 5px;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    padding: 10px 15px;
    border-radius: 10px;
}

.back-btn:hover {
    background: rgba(255,255,255,0.25);
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: 92%;
    max-width: 1000px;
    margin: 35px auto;
}


/* =========================================
   INTRO
========================================= */

.intro-box {
    background: white;
    border-left: 6px solid #c59b45;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 35px;
}

.intro-box h2 {
    margin-top: 0;
    color: #285c4d;
}


/* =========================================
   SECTION
========================================= */

.lesson-section,
.questions-section {
    margin-bottom: 40px;
}

.lesson-section > h2,
.questions-section > h2 {
    color: #173f35;
    font-size: 27px;
}

.section-description {
    color: #666;
    margin-bottom: 20px;
}


/* =========================================
   AUDIO CARDS
========================================= */

.audio-card {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 18px;
    box-shadow: 0 5px 16px rgba(0,0,0,0.08);
    border-top: 4px solid #c59b45;
}

.person-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.person-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #e9f1eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.person-info h3 {
    margin: 0;
    color: #285c4d;
    font-size: 22px;
}

.person-info p {
    margin: 5px 0 0;
    color: #777;
}

.audio-text {
    line-height: 1.7;
    background: #faf8f2;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

audio {
    width: 100%;
    margin-top: 5px;
}


/* =========================================
   SAVOLLAR AUDIO
========================================= */

.question-audio {
    background: #e9f1eb;
    padding: 22px;
    border-radius: 18px;
    margin: 25px 0;
}

.question-audio-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.question-audio h3 {
    color: #285c4d;
    margin: 5px 0;
}

.question-audio p {
    color: #666;
}


/* =========================================
   QUESTIONS
========================================= */

.question {
    background: white;
    padding: 23px;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.question h3 {
    color: #173f35;
    margin-top: 0;
}

.question label {
    display: block;
    padding: 12px 15px;
    margin: 8px 0;
    background: #f8f5ed;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.question label:hover {
    background: #e9f1eb;
}

.question input {
    margin-right: 10px;
}


/* =========================================
   BUTTON
========================================= */

.check-btn {
    display: block;
    margin: 30px auto;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    background: #285c4d;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.check-btn:hover {
    background: #173f35;
}


/* =========================================
   RESULT
========================================= */

.result {
    text-align: center;
    font-size: 21px;
    font-weight: bold;
    margin: 20px 0;
    padding: 18px;
    border-radius: 12px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    text-align: center;
    background: #173f35;
    color: white;
    padding: 20px;
    margin-top: 50px;
}


/* =========================================
   TELEFON
========================================= */

@media (max-width: 700px) {

    .audio-header h1 {
        font-size: 25px;
    }

    .back-btn {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }

    .container {
        width: 94%;
    }

    .audio-card,
    .question {
        padding: 18px;
    }

}

/* =========================================
   JAVOB NATIJALARI
========================================= */

.answer-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 10px;
    font-weight: bold;
}

.answer-message.correct {
    background: #dff3e4;
    color: #176b3a;
}

.answer-message.wrong {
    background: #fde8e8;
    color: #a33a3a;
}