﻿.test-container {
    width: 70%;
    margin: 0 auto;
    padding-top: 30px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    color: #999;
    line-height: 14px;
}

    .breadcrumb a {
        text-decoration: none;
        color: #666;
        transition: color 0.3sease;
    }

    .breadcrumb .separator {
        margin: 0 5px;
        color: #aaa;
    }

    .breadcrumb .current {
        color: #aaa;
    }

h1 {
    text-align: left;
}

.gray-line {
    border: none;
    border-top: 1px solid #d3d3d3;
    margin: 20px 0;
}

.question-container {
    padding: 20px;
    margin-top: 20px;
    max-width: 800px;
    margin: 20px auto;
}

.question {
    font-size: 18px;
    margin-bottom: 15px;
}

.answers {
    text-align: left;
}

.navigation-buttons {
    margin-top: 20px;
}

    .navigation-buttons button {
        padding: 10px 20px;
        background: #fff;
        cursor: pointer;
        margin: 0 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
    }

.answer-option input[type="radio"] {
    margin-right: 10px;
}

#submit-test {
    margin-top: 20px;
    background: #28a745;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}


.about {
    text-align: left;
    line-height: 1.6;
}

.about-ar {
    text-align: right;
    line-height: 1.6;
}

#alert-message {
    color: #f44336;
    background-color: #f8d7da;
    border-radius: 5px;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
}


.answer-option {
    padding: 10px;
    background: #eaeaea;
    border: 1px solid #ccc;
    margin: 5px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 5px;
}

    .answer-option:hover {
        background: #ddd;
    }

    .answer-option .radio-label {
        cursor: pointer;
        display: flex;
        align-items: center;
    }

    .answer-option input[type="radio"] {
        position: absolute;
        opacity: 0;
    }

        .answer-option input[type="radio"] + .radio-label:before {
            content: "";
            width: 14px;
            height: 14px;
            display: inline-block;
            margin-right: 8px;
            position: relative;
            top: 1.5px;
            background: #fff;
            border-radius: 100%;
            border: 1px solid #c8c8c8;
            vertical-align: top;
            cursor: pointer;
            text-align: center;
            -webkit-transition: all 250ms ease;
            transition: all 250ms ease;
        }

        .answer-option input[type="radio"] + .radio-label:hover:before {
            border: 1px solid #0c66ff;
        }

        .answer-option input[type="radio"]:checked + .radio-label:before {
            background-color: #0c66ff;
            box-shadow: inset 0 0 0 3px #f4f4f4;
            border-color: #0c66ff;
        }

        .answer-option input[type="radio"]:focus + .radio-label:before {
            outline: none;
            border-color: #0c66ff;
        }

        .answer-option input[type="radio"]:disabled:checked + .radio-label:before {
            box-shadow: inset 0 0 0 3px #f4f4f4;
            border-color: #c8c8c8;
            background: #c8c8c8;
        }

        .answer-option input[type="radio"]:disabled + .radio-label:before {
            border-color: #c8c8c8;
        }

        .answer-option input[type="radio"]:disabled + .radio-label {
            color: #c8c8c8;
        }

        .answer-option input[type="radio"]:disabled:checked + .radio-label {
            color: #c8c8c8;
        }

        .answer-option input[type="radio"] + .radio-label:empty:before {
            margin-right: 0;
        }


@media (max-width: 768px) {
    .test-container {
        width: 90%;
        margin: 0 auto;
        padding-top: 30px;
    }
}

