/* Quiz Results Custom Styles */
@import url('https://cdn.jsdelivr.net/npm/uikit@3.14.1/dist/css/uikit.min.css');
.quiz-result-btn {
    font-size: 1.1rem;
    padding: 0.7em 1.5em;
    max-width: 220px;
    width: 100%;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.quiz-feedback-btn {
    margin-bottom: 0;
    font-weight: 600;
}
.quiz-feedback-text {
    font-size: 1.05rem;
    color: #222;
    background: #f7f7fa;
    border-radius: 6px;
    padding: 0.4em 0.8em;
    margin-top: 4px;
    display: inline-block;
    word-break: break-word;
    max-width: 100%;
}
.quiz-pill{
    display: inline-block;
    padding: 0.45em 0.8em;
    border-radius: 999px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    min-width: 86px;
    text-align: center;
}
.quiz-feedback-pill{ font-size: 0.9rem; padding: 0.35em 0.7em; }
.answer-text{ font-size: 1rem; color: #1c1c1c; padding-left: 8px; }
/* .cardet-quiz .question { margin-bottom: 20px; } .feedback { background: #eef; padding: 10px; margin: 10px 0; border-left: 4px solid #88c; } */



#quiz-competence{
    color: #33333A;
    font-weight: bold;
}
#quiz-framework{
    color:#000000;
    font-size: 59px;
}

.next-section, .prev-section{
    background-color:#4A916A !important;
    color:#FFFFFF !important;
    font-size:1rem !important;
}

.cardet-quiz input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 2px solid #800080;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
    outline: none;
    cursor: pointer;
    transition: background-color 0.2s;
}
.cardet-quiz input[type="radio"]:checked {
    background-color: #7451c8;
  
}
.cardet-quiz input[type="radio"]:checked::after {

    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 4px auto;
    border-radius: 50%;
    /* background: #fff; */
}
.cardet-quiz input[type="radio"]:focus {
    box-shadow: 0 0 0 2px #d1a3e6;
}
.framework-btn-EntreComp {
    background-color:#4A916A !important;
    color:#FFFFFF !important;
    width: 200px;
}

/* Feedback Section Styles */
.pillar-feedback-section {
    margin-top: 30px;
    animation: fadeIn 0.5s ease-in-out;
}

.feedback-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid #eef2f7;
}

.feedback-header {
    padding: 20px 25px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.feedback-question {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.05rem;
    flex: 1;
    min-width: 250px;
}

.feedback-answer-badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.feedback-body {
    padding: 25px;
}

.feedback-title {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.feedback-content {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feedback-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.feedback-content li {
    margin-bottom: 8px;
}

.feedback-section-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid #3b82f6;
}

.feedback-section-box.try-this {
    background: #f0fdf4;
    border-left-color: #22c55e;
}

.feedback-section-box.resources {
    background: #fff7ed;
    border-left-color: #f97316;
}

.feedback-section-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

.try-this .feedback-section-title { color: #15803d; }
.resources .feedback-section-title { color: #c2410c; }

.resource-link {
    display: inline-flex;
    align-items: center;
    color: #ea580c;
    text-decoration: none;
    font-weight: 500;
    margin-right: 15px;
    margin-bottom: 5px;
    transition: color 0.2s;
}

.resource-link:hover {
    color: #9a3412;
    text-decoration: underline;
}

.btn-proceed-next, .btn-finish-quiz, .btn-next-pillar {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 40px auto 0;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 0; /* Square buttons */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pillar-navigation-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
}

.attempt-selector-card {
    background-color: #f5f5f5 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.btn-finish-quiz:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-proceed-next:hover, .btn-next-pillar:hover {
    filter: brightness(90%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Pillar Navigation & Layout */
.cardet-quiz-pillars-interactive {
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.pillar-tabs-navigation {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.pillar-tab {
    flex: 1;
    padding: 15px 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0.7;
    min-height: 80px;
}

.pillar-tab:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.pillar-tab.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 10;
    border: 2px solid #fff;
    position: relative;
}

.pillar-tab.locked {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(100%);
}

.pillar-tab.locked:hover {
    transform: none;
    opacity: 0.5;
}

.pillar-number {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.pillar-tab-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.pillar-content-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px;
    border: 1px solid #f0f0f0;
}

.pillar-title-section {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.pillar-main-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 10px;
}

.pillar-question-intro {
    font-size: 2rem;
    color: #333;
    font-weight: 700;
    margin: 0;
}

.question-block {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.question-block:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left-color: #3b82f6;
}

.question-text {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 500;
}

.question-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 10px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.option-label:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.option-label input[type="radio"] {
    margin-right: 10px;
}

.option-text {
    font-size: 0.9rem;
    color: #475569;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feedback-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feedback-answer-badge {
        align-self: flex-start;
    }

    .pillar-tabs-navigation {
        flex-wrap: wrap;
    }
    .pillar-tab {
        flex: 1 1 45%;
        min-height: 60px;
    }
    .question-options {
        grid-template-columns: 1fr;
    }
}

.cardet-history-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.cardet-history-attempt .uk-accordion-title {
    display: block;
    width: 100%;
    box-sizing: border-box;
}


