/* Cloud Migration Readiness Quiz */

.cloud-quiz-form {
    max-width: 500px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
}

.cloud-quiz-form h2 {
    margin-bottom: 20px;
}

.cq_wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    direction: rtl;
    text-align: right;
    color: #333;
}

/* Start Card */
.cq_start_card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    text-align: center;
}

.cq_start_icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.cq_start_title {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.4;
}

.cq_start_subtitle {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cq_start_features {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cq_start_button {
    padding: 15px 50px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cq_start_button:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* Progress Bar */
.cq_progress_container {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 8px;
}

.cq_progress_track {
    flex: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.cq_progress_fill {
    height: 100%;
    width: 0%;
    background: #4285f4;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.cq_progress_label {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}

/* Question Area */
.cq_question_area {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    animation: cqFadeIn 0.3s ease-in;
}

@keyframes cqFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cq_question_text {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.5;
}

.cq_question_why {
    font-size: 14px;
    color: #777;
    margin: 0 0 20px;
    line-height: 1.6;
}

.cq_options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cq_option_btn {
    text-align: right;
    padding: 14px 18px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
}

.cq_option_btn:hover {
    border-color: #4285f4;
    background-color: #f0f4ff;
    transform: translateX(-2px);
}

.cq_option_btn:active {
    background-color: #e3ecff;
}

/* Results - gradient card like AI quiz */
.cq_results_area {
    animation: cqFadeIn 0.5s ease-in;
}

.cq_results_content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.cq_results_title {
    font-size: 24px;
    margin: 0 0 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cq_result_label {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cq_result_items {
    text-align: right;
    margin: 0 20px;
    padding-right: 18px;
    font-size: 15px;
    line-height: 1.8;
    list-style: disc;
}

.cq_extra_card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 16px;
    text-align: right;
}

.cq_extra_label {
    font-size: 13px;
    opacity: 0.85;
    margin: 0 0 4px;
}

.cq_extra_text {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.cq_vendor_note {
    font-size: 13px;
    opacity: 0.8;
    margin: 16px 0 0;
}

/* CTA Section */
.cq_cta_section {
    text-align: center;
    margin-top: 24px;
}

.cq_cta_link {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    background-color: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.cq_cta_link:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* Restart button */
.cq_restart_btn {
    margin-top: 16px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease;
}

.cq_restart_btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Disclaimer */
.cq_disclaimer {
    font-size: 13px;
    color: #888;
    margin: 20px 10px 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .cq_wrapper {
        padding: 10px;
    }

    .cq_start_card {
        padding: 30px 20px;
    }

    .cq_start_icon {
        font-size: 36px;
    }

    .cq_start_title {
        font-size: 22px;
    }

    .cq_start_subtitle {
        font-size: 16px;
    }

    .cq_start_button {
        width: 100%;
        padding: 15px 30px;
    }

    .cq_question_area {
        padding: 20px;
    }

    .cq_question_text {
        font-size: 16px;
    }

    .cq_option_btn {
        font-size: 14px;
        padding: 12px 14px;
    }

    .cq_results_content {
        padding: 25px;
    }

    .cq_cta_link {
        display: block;
        width: 100%;
    }
}