.ibt-test-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ibt-user-form,
.ibt-test-form {
    margin-top: 20px;
}

.ibt-form-group {
    margin-bottom: 15px;
}

.ibt-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.ibt-form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ibt-progress {
    margin-bottom: 20px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-weight: bold;
}

.ibt-question {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
}

.ibt-question-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
}

.ibt-category {
    background: #e0e0e0;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.ibt-question-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.ibt-options {
    margin: 20px 0;
}

.ibt-option {
    margin-bottom: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ibt-option:hover {
    background: #f5f5f5;
}

.ibt-option input {
    margin-right: 10px;
}

.ibt-question-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.ibt-btn {
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.ibt-btn:hover {
    background: #005a87;
}

.ibt-result {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.ibt-result-print {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
}

.ibt-result-header {
    text-align: center;
    margin-bottom: 30px;
}

.ibt-result-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.ibt-result-table th,
.ibt-result-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.ibt-result-table th {
    background: #f0f0f0;
    width: 200px;
}

.ibt-grade {
    font-weight: bold;
}

.ibt-grade-otlichno {
    color: #46b450;
}

.ibt-grade-horosho {
    color: #0073aa;
}

.ibt-grade-udovletvoritelno {
    color: #ffb900;
}

.ibt-grade-neudovletvoritelno {
    color: #dc3232;
}

.ibt-print-footer {
    margin-top: 50px;
    text-align: center;
}

.ibt-print-buttons {
    margin-top: 30px;
    text-align: center;
}

@media print {
    body {
        background: #fff;
    }
    
    .ibt-print-buttons {
        display: none;
    }
}