/* --- Free Mock Test Premium Styling --- */


body.free-mock-test {
    background: linear-gradient(120deg, #f8fafc 0%, #e0ecff 100%);
}

.free-test-header {
    background: linear-gradient(90deg, #0057b8 0%, #43a1ff 100%);
    color: #fff;
    border-radius: 1rem 1rem 0 0;
    padding: 2rem 2rem 1rem 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    text-align: center;
    margin-bottom: 0;
}

.free-test-header h2 {
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.25em;
}

.free-test-header p {
    font-size: 1.15em;
    opacity: 0.92;
}

.free-test-content {
    background: #fff;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 6px 32px rgba(0,0,0,0.07);
    padding: 2rem 2rem 1rem 2rem;
    margin-bottom: 2rem;
}

.questions-block {
    margin-top: 1.5rem;
}

.mcq-options-form {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.form-check-label .option-media-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.form-check-label img, .option-media-row img {
    max-width: 60px;
    max-height: 48px;
    border-radius: 0.5rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
    margin-right: 0.5rem;
    background: #f8fafc;
}

/* Hören media styling */
.horen-media-part1 {
    display: flex;
    align-items: center;
    background: #eaf4ff;
    border: 1.5px solid #b5d6fa;
    border-radius: 0.75rem;
    padding: 0;
    margin: 0.1rem 0 0.1rem 0;
    box-shadow: none;
    gap: 0;
    width: fit-content;
    min-width: 0;
}
.horen-media-part1 audio {
    display: inline-block;
    margin: 0;
    height: 36px;
    min-width: 180px;
}

.horen-media {
    display: flex;
    align-items: center;
    background: #eaf4ff;
    border: 1.5px solid #b5d6fa;
    border-radius: 0.75rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,87,184,0.04);
    gap: 0.3rem;
    width: fit-content;
    min-width: 120px;
    max-width: 100%;
}
.horen-media img, .horen-media audio {
    max-height: 60px;
    margin-right: 1rem;
}
.horen-media .media-label {
    font-weight: 600;
    color: #0057b8;
    margin-right: 1.2rem;
    font-size: 1.1em;
}

/* Buttons and Badges */
#submitFreeTestBtn {
    background: linear-gradient(90deg, #0057b8 0%, #43a1ff 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(67,161,255,0.08);
}
#submitFreeTestBtn:hover {
    background: linear-gradient(90deg, #43a1ff 0%, #0057b8 100%);
}

.badge.bg-secondary {
    background: #b5d6fa !important;
    color: #0057b8 !important;
    font-size: 1em;
    border-radius: 0.5rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .free-test-header, .free-test-content {
        padding: 1rem 0.5rem;
    }
    .mcq-options-form {
        gap: 0.7rem;
    }
}
