.cqp-quiz-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    font-family: inherit;
}

.cqp-heading {
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: 600;
    line-height: 1.3;
}

.cqp-image-container {
    margin: 20px 0;
}

.cqp-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.cqp-start-button {
    padding: 12px 30px;
    font-size: 1.1em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cqp-start-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.cqp-progress-container {
    margin: 30px 0;
}

.cqp-progress-label {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #666;
}

.cqp-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 15px 0;
}

.cqp-progress-fill {
    height: 100%;
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 4px;
}

.cqp-progress-percentage {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
}

.cqp-completion-message {
    font-size: 1.3em;
    margin-bottom: 25px;
    color: #2ecc71;
    font-weight: 600;
}

.cqp-completion-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cqp-completion-button {
    padding: 12px 25px;
    background-color: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
    display: inline-block;
}

.cqp-completion-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: white;
}

/* Ad Container Styles */
.cqp-ad-container {
    margin: 20px 0;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
}

.cqp-ad-container .ad-placeholder {
    color: #666;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cqp-quiz-container {
        width: 95%;
        padding: 15px;
    }
    
    .cqp-heading {
        font-size: 1.6em;
    }
    
    .cqp-completion-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cqp-completion-button {
        width: 100%;
        max-width: 200px;
    }
    
    .cqp-ad-container {
        margin: 15px 0;
        padding: 15px;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .cqp-progress-bar {
        background-color: #333;
    }
    
    .cqp-progress-label,
    .cqp-progress-percentage {
        color: #ccc;
    }
    
    .cqp-ad-container {
        background-color: #2d2d2d;
        border-color: #444;
    }
    
    .cqp-ad-container .ad-placeholder {
        color: #999;
    }
}