/* Test Container */
.args-tests-test-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #000000;
}

/* Start Page */
.args-tests-start-page {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    color: #000000;
}

.args-tests-start-page h2 {
    color: #000000;
    margin-bottom: 20px;
}

.args-tests-header {
    text-align: left;
    margin: 30px 0;
    line-height: 1.6;
    color: #000000;
}

.args-tests-header p, 
.args-tests-header h1, 
.args-tests-header h2, 
.args-tests-header h3, 
.args-tests-header h4, 
.args-tests-header h5, 
.args-tests-header h6 {
    color: #000000 !important;
}

.args-tests-start-btn {
    padding: 12px 30px;
    font-size: 18px;
    background: #007cba;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.args-tests-start-btn:hover {
    background: #005a87;
}

/* Questions */
.args-tests-questions-container {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #000000;
}

.args-tests-progress {
    color: #000000;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

.args-tests-question-page h3 {
    color: #000000;
    margin-bottom: 25px;
    font-size: 20px;
    line-height: 1.4;
}

.args-tests-options-list {
    margin: 25px 0;
}

.args-tests-option {
    display: block;
    margin: 12px 0;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #000000;
}

.args-tests-option:hover {
    border-color: #007cba;
    background: #f0f7fc;
}

.args-tests-option.selected {
    border-color: #007cba;
    background: #007cba;
    color: white;
}

.args-tests-option-label {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
    color: inherit;
}

.args-tests-option-text {
    line-height: 1.5;
    color: inherit;
}

.args-tests-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.args-tests-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.args-tests-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.args-tests-btn-primary {
    background: #007cba;
    color: white;
}

.args-tests-btn-primary:hover:not(:disabled) {
    background: #005a87;
}

.args-tests-btn-secondary {
    background: #6c757d;
    color: white;
}

.args-tests-btn-secondary:hover {
    background: #545b62;
}

/* Results */
.args-tests-result-container {
direction:rtl;
    background: white;
    text-align: right;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #000000;
}

.args-tests-result-page h2 {
    color: #000000;
    margin-bottom: 25px;
    text-align: center;
}

.args-tests-result-content {
    line-height: 1.7;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007cba;
    color: #000000;
}

.args-tests-result-content p,
.args-tests-result-content h1,
.args-tests-result-content h2,
.args-tests-result-content h3,
.args-tests-result-content h4,
.args-tests-result-content h5,
.args-tests-result-content h6,
.args-tests-result-content div,
.args-tests-result-content span {
    color: #000000 !important;
}

/* Link Styles - BLUE LINKS */
.args-tests-link {
    color: #0073aa !important;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.args-tests-link:hover {
    color: #005a87 !important;
    text-decoration: none;
}

.args-tests-result-content .args-tests-link {
    color: #0073aa !important;
}

.args-tests-result-content .args-tests-link:hover {
    color: #005a87 !important;
}

/* Image Styles */
.args-tests-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px 0;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 5px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.args-tests-result-content .args-tests-image {
    max-width: 100%;
    height: auto;
}

/* List Styles */
.args-tests-unordered-list {
    margin: 15px 0;
    padding-left: 24px;
    color: #000000;
    list-style-type: disc;
}

.args-tests-ordered-list {
    margin: 15px 0;
    padding-left: 24px;
    color: #000000;
    list-style-type: decimal;
}

.args-tests-list-item {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #000000;
}

/* Nested List Styles */
.args-tests-unordered-list .args-tests-unordered-list {
    list-style-type: circle;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 20px;
}

.args-tests-unordered-list .args-tests-unordered-list .args-tests-unordered-list {
    list-style-type: square;
}

.args-tests-ordered-list .args-tests-ordered-list {
    list-style-type: lower-alpha;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 20px;
}

.args-tests-ordered-list .args-tests-ordered-list .args-tests-ordered-list {
    list-style-type: lower-roman;
}

/* Mixed Nested Lists */
.args-tests-unordered-list .args-tests-ordered-list,
.args-tests-ordered-list .args-tests-unordered-list {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 20px;
}

/* Paragraph and Text Styles */
.args-tests-paragraph {
direction:rtl;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #000000;
}

.args-tests-test-header {
    color: #000000;
    margin: 20px 0 15px 0;
}

.args-tests-test-footer {
    color: #666;
    font-style: italic;
    margin-top: 20px;
}

.args-tests-answer-text {
    color: #000000;
    line-height: 1.6;
}

.args-tests-answer-list {
    margin: 10px 0;
}

/* Answer Results */
.args-tests-answer-result {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.args-tests-answer-result:last-child {
    border-bottom: none;
}

.args-tests-answer-title {
direction: rtl;
    color: #007cba;
    margin-bottom: 10px;
    font-size: 18px;
}

.args-tests-answer-content {
    color: #000000;
    line-height: 1.7;
}

.args-tests-final-result {
    color: #000000;
}

.args-tests-result-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.args-tests-result-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    color: #666;
}

.args-tests-answers-container {
    margin: 20px 0;
}

/* Code Styles */
.args-tests-inline-code {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    color: #000000;
    border: 1px solid #ddd;
}

.args-tests-code-block {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 5px;
    font-size: 0.9em;
    color: #000000;
    border: 1px solid #e0e0e0;
    overflow-x: auto;
    display: block;
    line-height: 1.4;
}

/* Blockquote Styles */
.args-tests-blockquote {
    border-left: 4px solid #007cba;
    margin: 20px 0;
    padding: 15px 20px;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
}

.args-tests-blockquote p {
    margin: 0;
    color: #555 !important;
}

/* Horizontal Rule */
.args-tests-hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 30px 0;
}

/* Email Form */
.args-tests-email-form {
    margin-top: 30px;
    padding: 20px;
    background: #f0f7fc;
    border-radius: 6px;
    border: 1px solid #007cba;
    color: #000000;
}

.args-tests-email-form h3 {
    margin-top: 0;
    color: #000000;
}

.args-tests-email-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    color: #000000;
}

.args-tests-email-form input:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,124,186,0.2);
}

.args-tests-success-message {
    padding: 15px;
    background: #d1e7dd;
    border: 1px solid #badbcc;
    border-radius: 4px;
    color: #0f5132;
    margin-top: 20px;
}

/* Error Styles */
.args-tests-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
    color: #721c24;
}

.args-tests-error p {
    margin: 0;
    color: #721c24 !important;
}

/* Loading */
.args-tests-loading {
    text-align: center;
    padding: 40px;
    color: #000000;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .args-tests-test-container {
        padding: 10px;
    }
    
    .args-tests-start-page,
    .args-tests-questions-container,
    .args-tests-result-container {
        padding: 20px;
    }
    
    .args-tests-nav-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .args-tests-nav-buttons > * {
        width: 100%;
    }
    
    .args-tests-ordered-list,
    .args-tests-unordered-list {
        padding-left: 20px;
    }
    
    .args-tests-image {
        margin: 10px 0;
    }
    
    .args-tests-result-content {
        padding: 15px;
    }
    
    .args-tests-email-form {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .args-tests-start-page {
        padding: 20px 15px;
    }
    
    .args-tests-questions-container,
    .args-tests-result-container {
        padding: 15px;
    }
    
    .args-tests-option {
        padding: 12px 15px;
    }
    
    .args-tests-ordered-list,
    .args-tests-unordered-list {
        padding-left: 18px;
    }
    
    .args-tests-list-item {
        margin-bottom: 6px;
        font-size: 14px;
    }
    
    .args-tests-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .args-tests-test-container {
        background: #1d2327;
        color: #f0f0f1;
    }
    
    .args-tests-start-page,
    .args-tests-questions-container,
    .args-tests-result-container {
    text-align:right;
        background: white;
        color: #f0f0f1;
    }
    
    .args-tests-option {
        background: #3c434a;
        color: #f0f0f1;
        border-color: #4f5660;
    }
    
    .args-tests-option:hover {
        background: #4f5660;
        border-color: #007cba;
    }
    
    .args-tests-result-content {
        background: white;
        color: #f0f0f1;
    }
    
    .args-tests-email-form {
        background: #3c434a;
        border-color: #007cba;
        color: #f0f0f1;
    }
    
    .args-tests-link {
        color: #00a0d2 !important;
    }
    
    .args-tests-link:hover {
        color: #0073aa !important;
    }
    
    .args-tests-image {
        background: #3c434a;
        border-color: #4f5660;
    }
    
    .args-tests-inline-code,
    .args-tests-code-block {
        background: #1d2327;
        color: #f0f0f1;
        border-color: #4f5660;
    }
    
    .args-tests-blockquote {
        background: #3c434a;
        color: #d0d0d0;
    }
}

/* Print Styles */
@media print {
    .args-tests-test-container {
        box-shadow: none;
        padding: 0;
    }
    
    .args-tests-start-page,
    .args-tests-questions-container,
    .args-tests-result-container {
    text-align:right;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .args-tests-email-form {
        display: none;
    }
    
    .args-tests-btn {
        display: none;
    }
    
    .args-tests-link {
        color: #000000 !important;
        text-decoration: underline;
    }
    
    .args-tests-image {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* RTL Support */
body.rtl .args-tests-test-container,
html[dir="rtl"] .args-tests-test-container {
    direction: rtl;
    text-align: right;
}

body.rtl .args-tests-start-page,
body.rtl .args-tests-questions-container,
body.rtl .args-tests-result-container,
html[dir="rtl"] .args-tests-start-page,
html[dir="rtl"] .args-tests-questions-container,
html[dir="rtl"] .args-tests-result-container {
    text-align: right;
}

body.rtl .args-tests-nav-buttons,
html[dir="rtl"] .args-tests-nav-buttons {
    flex-direction: row-reverse;
}

body.rtl .args-tests-option,
html[dir="rtl"] .args-tests-option {
    text-align: right;
}

body.rtl .args-tests-progress,
html[dir="rtl"] .args-tests-progress {
    text-align: right;
}

body.rtl .args-tests-email-form input,
html[dir="rtl"] .args-tests-email-form input {
    text-align: right;
}

body.rtl .args-tests-unordered-list,
body.rtl .args-tests-ordered-list,
html[dir="rtl"] .args-tests-unordered-list,
html[dir="rtl"] .args-tests-ordered-list {
    padding-right: 24px;
    padding-left: 0;
}

body.rtl .args-tests-unordered-list .args-tests-unordered-list,
body.rtl .args-tests-ordered-list .args-tests-ordered-list,
body.rtl .args-tests-unordered-list .args-tests-ordered-list,
body.rtl .args-tests-ordered-list .args-tests-unordered-list,
html[dir="rtl"] .args-tests-unordered-list .args-tests-unordered-list,
html[dir="rtl"] .args-tests-ordered-list .args-tests-ordered-list,
html[dir="rtl"] .args-tests-unordered-list .args-tests-ordered-list,
html[dir="rtl"] .args-tests-ordered-list .args-tests-unordered-list {
    margin-right: 20px;
    margin-left: 0;
}

body.rtl .args-tests-blockquote,
html[dir="rtl"] .args-tests-blockquote {
    border-right: 4px solid #007cba;
    border-left: none;
    padding-right: 20px;
    padding-left: 0;
}

body.rtl .args-tests-result-content,
html[dir="rtl"] .args-tests-result-content {
    border-right: 4px solid #007cba;
    border-left: none;
}

@media (max-width: 768px) {
    body.rtl .args-tests-ordered-list,
    body.rtl .args-tests-unordered-list,
    html[dir="rtl"] .args-tests-ordered-list,
    html[dir="rtl"] .args-tests-unordered-list {
        padding-right: 20px;
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    body.rtl .args-tests-ordered-list,
    body.rtl .args-tests-unordered-list,
    html[dir="rtl"] .args-tests-ordered-list,
    html[dir="rtl"] .args-tests-unordered-list {
        padding-right: 18px;
        padding-left: 0;
    }
}

/* Email Required Form */
.args-tests-email-required-page {
    text-align: center;
    padding: 30px;
}

.args-tests-email-required-page h3 {
    color: #000000;
    margin-bottom: 20px;
}

.args-tests-email-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.args-tests-email-input-group input {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
}

.args-tests-email-input-group input:focus {
    border-color: #007cba;
    outline: none;
}

.args-tests-email-note {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 480px) {
    .args-tests-email-required-page {
        padding: 20px 15px;
    }
    
    .args-tests-email-input-group {
        max-width: 100%;
    }
}
