/*
==========================================
Quiz Details
Part-1 : Instructions Screen
==========================================
*/


/*=========================================
Main Page
=========================================*/

.gjp-quiz-details-page{

    padding:50px 0 70px;

    background:#f8fafc;

}

.gjp-quiz-details-page .container{

    max-width:1000px;

}


/*=========================================
Quiz Screen
=========================================*/

.gjp-quiz-screen{

    display:none;

}

.gjp-quiz-screen.active{

    display:block;

}


/*=========================================
Intro Card
=========================================*/

.gjp-quiz-intro-card{

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:20px;

    padding:45px;

    text-align:center;

    margin-bottom:35px;

    box-shadow:0 8px 25px rgba(15,23,42,.05);

}


/*=========================================
Quiz Icon
=========================================*/

.gjp-quiz-icon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#dbeafe;

    font-size:40px;

}


/*=========================================
Heading
=========================================*/

.gjp-quiz-intro-card h1{

    font-size:38px;

    color:#0f172a;

    margin-bottom:18px;

}

.gjp-quiz-intro-card p{

    font-size:18px;

    color:#64748b;

    line-height:1.8;

}


/*=========================================
Quiz Information
=========================================*/

.gjp-info-box{

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:18px;

    padding:28px;

    text-align:center;

    transition:.30s;

    box-shadow:0 6px 20px rgba(15,23,42,.05);

}

.gjp-info-box:hover{

    transform:translateY(-5px);

    border-color:#2563eb;

}

.gjp-info-box h4{

    color:#64748b;

    font-size:15px;

    margin-bottom:10px;

    font-weight:600;

}

.gjp-info-box strong{

    display:block;

    font-size:26px;

    color:#0f172a;

    font-weight:700;

}


/*=========================================
Info Grid
=========================================*/

.gjp-quiz-info-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:22px;

    margin-bottom:35px;

}


/*=========================================
Instructions Card
=========================================*/

.gjp-instructions-card{

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:20px;

    padding:40px;

    margin-bottom:35px;

    box-shadow:0 8px 25px rgba(15,23,42,.05);

}

.gjp-instructions-card h2{

    font-size:30px;

    margin-bottom:22px;

    color:#0f172a;

}


/*=========================================
Instruction List
=========================================*/

.gjp-instructions-card ul{

    list-style:none;

    padding:0;

    margin:0;

}

.gjp-instructions-card li{

    position:relative;

    padding:14px 0 14px 34px;

    border-bottom:1px solid #eef2f7;

    color:#334155;

    line-height:1.8;

    font-size:16px;

}

.gjp-instructions-card li:last-child{

    border-bottom:none;

}

.gjp-instructions-card li::before{

    content:"✓";

    position:absolute;

    left:0;

    top:14px;

    width:20px;

    height:20px;

    border-radius:50%;

    background:#dbeafe;

    color:#2563eb;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:12px;

    font-weight:700;

}


/*=========================================
Start Quiz Button
=========================================*/

.gjp-start-area{

    text-align:center;

}

.gjp-start-area .gjp-btn-primary{

    min-width:230px;

    padding:16px 34px;

    font-size:17px;

}
/*
==========================================
Quiz Details
Part-2 : Quiz Screen
==========================================
*/


/*=========================================
Quiz Top Bar
=========================================*/

.gjp-quiz-topbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:22px;

}

.gjp-question-count{

    font-size:18px;

    font-weight:700;

    color:#0f172a;

}

.gjp-question-count span{

    color:#2563eb;

}

.gjp-quiz-timer{

    display:flex;

    align-items:center;

    gap:8px;

    background:#ffffff;

    border:1px solid #dbe4ef;

    border-radius:12px;

    padding:12px 18px;

    font-size:18px;

    font-weight:700;

    color:#dc2626;

}


/*=========================================
Progress
=========================================*/

.gjp-progress-wrapper{

    width:100%;

    height:8px;

    background:#e5e7eb;

    border-radius:30px;

    overflow:hidden;

    margin-bottom:35px;

}

.gjp-progress-bar{

    width:10%;

    height:100%;

    background:#2563eb;

    transition:.35s ease;

}


/*=========================================
Layout
=========================================*/

.gjp-quiz-layout{

    display:grid;

    grid-template-columns:1fr 260px;

    gap:30px;

}


/*=========================================
Question Card
=========================================*/

.gjp-question-card{

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:20px;

    padding:40px;

    box-shadow:0 8px 25px rgba(15,23,42,.05);

}

.gjp-question-card h2{

    font-size:30px;

    line-height:1.6;

    color:#0f172a;

    margin-bottom:35px;

}


/*=========================================
Options
=========================================*/

.gjp-options{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.gjp-option{

    display:flex;

    align-items:center;

    gap:16px;

    padding:18px 22px;

    border:2px solid #e5e7eb;

    border-radius:14px;

    cursor:pointer;

    transition:.30s;

    background:#ffffff;

}

.gjp-option:hover{

    border-color:#2563eb;

    background:#eff6ff;

}

.gjp-option input{

    width:20px;

    height:20px;

    accent-color:#2563eb;

}

.gjp-option span{

    font-size:18px;

    color:#334155;

    line-height:1.6;

}


/*=========================================
Question Buttons
=========================================*/

.gjp-question-buttons{

    display:flex;

    justify-content:space-between;

    margin-top:35px;

}

.gjp-question-buttons .gjp-btn-primary,

.gjp-question-buttons .gjp-btn-secondary{

    min-width:170px;

}


/*=========================================
Question Palette
=========================================*/

.gjp-question-palette{

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:20px;

    padding:28px;

    box-shadow:0 8px 25px rgba(15,23,42,.05);

    height:fit-content;

    position:sticky;

    top:110px;

}

.gjp-question-palette h3{

    text-align:center;

    font-size:22px;

    color:#0f172a;

    margin-bottom:22px;

}

.gjp-palette-grid{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:12px;

}

.gjp-palette-btn{

    width:42px;

    height:42px;

    border:none;

    border-radius:10px;

    background:#f1f5f9;

    color:#334155;

    font-weight:700;

    cursor:pointer;

    transition:.30s;

}

.gjp-palette-btn:hover{

    background:#2563eb;

    color:#ffffff;

}

.gjp-palette-btn.active{

    background:#2563eb;

    color:#ffffff;

}

.gjp-palette-btn.answered{

    background:#16a34a;

    color:#ffffff;

}
/*
==========================================
Quiz Details
Part-3 : Result + Review + Responsive
==========================================
*/


/*=========================================
Selected / Correct / Wrong Options
=========================================*/

.gjp-option.selected{

    border-color:#2563eb;

    background:#eff6ff;

}

.gjp-option.correct{

    border-color:#16a34a;

    background:#f0fdf4;

}

.gjp-option.wrong{

    border-color:#dc2626;

    background:#fef2f2;

}


/*=========================================
Result Card
=========================================*/

.gjp-result-card{

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:22px;

    padding:50px;

    text-align:center;

    box-shadow:0 8px 25px rgba(15,23,42,.05);

}

.gjp-result-badge{

    display:inline-block;

    padding:8px 18px;

    border-radius:40px;

    background:#dcfce7;

    color:#15803d;

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

    margin-bottom:18px;

}

.gjp-result-card h1{

    font-size:40px;

    color:#0f172a;

    margin-bottom:15px;

}

.gjp-result-card p{

    color:#64748b;

    font-size:18px;

    line-height:1.8;

    margin-bottom:35px;

}


/*=========================================
Score Circle
=========================================*/

.gjp-score-circle{

    width:180px;

    height:180px;

    margin:0 auto 40px;

    border-radius:50%;

    background:conic-gradient(#2563eb 80%, #e5e7eb 0);

    display:flex;

    align-items:center;

    justify-content:center;

}

.gjp-score-inner{

    width:135px;

    height:135px;

    background:#ffffff;

    border-radius:50%;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

}

.gjp-score-inner strong{

    font-size:42px;

    color:#2563eb;

}

.gjp-score-inner span{

    color:#64748b;

    font-size:16px;

}


/*=========================================
Statistics
=========================================*/

.gjp-result-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:22px;

    margin-bottom:40px;

}

.gjp-result-box{

    background:#f8fafc;

    border-radius:16px;

    padding:25px;

}

.gjp-result-box span{

    display:block;

    color:#64748b;

    margin-bottom:8px;

}

.gjp-result-box strong{

    font-size:28px;

    color:#0f172a;

}


/*=========================================
Result Buttons
=========================================*/

.gjp-result-buttons{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

}


/*=========================================
Review Answers
=========================================*/

.gjp-review-wrapper{

    max-width:900px;

    margin:0 auto;

}

.gjp-review-header{

    text-align:center;

    margin-bottom:35px;

}

.gjp-review-header h2{

    font-size:36px;

    color:#0f172a;

    margin-bottom:10px;

}

.gjp-review-header p{

    color:#64748b;

}

.gjp-review-card{

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:20px;

    padding:35px;

    margin-bottom:30px;

    box-shadow:0 8px 25px rgba(15,23,42,.05);

}

.gjp-question-number{

    display:inline-block;

    margin-bottom:10px;

    color:#2563eb;

    font-weight:700;

}

.gjp-review-question h3{

    font-size:24px;

    line-height:1.6;

    margin-bottom:30px;

}

.gjp-review-answer{

    padding:18px 22px;

    border-radius:14px;

    margin-bottom:18px;

}

.gjp-review-answer.correct{

    background:#f0fdf4;

    border-left:5px solid #16a34a;

}

.gjp-review-answer.wrong{

    background:#fef2f2;

    border-left:5px solid #dc2626;

}

.gjp-review-explanation{

    margin-top:25px;

    padding-top:25px;

    border-top:1px solid #e5e7eb;

}

.gjp-review-explanation h4{

    margin-bottom:12px;

    color:#0f172a;

}

.gjp-review-explanation p{

    color:#475569;

    line-height:1.9;

}

.gjp-review-actions{

    margin-top:25px;

}

.gjp-review-footer{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin-top:40px;

}


/*=========================================
Responsive
=========================================*/

@media(max-width:992px){

    .gjp-quiz-layout{

        grid-template-columns:1fr;

    }

    .gjp-question-palette{

        position:static;

    }

    .gjp-quiz-info-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .gjp-result-grid{

        grid-template-columns:1fr;

    }

}


@media(max-width:768px){

    .gjp-quiz-topbar{

        flex-direction:column;

        gap:18px;

        align-items:flex-start;

    }

    .gjp-question-card{

        padding:28px;

    }

    .gjp-question-card h2{

        font-size:24px;

    }

    .gjp-question-buttons{

        flex-direction:column;

        gap:15px;

    }

    .gjp-question-buttons button{

        width:100%;

    }

    .gjp-result-card{

        padding:35px 25px;

    }

    .gjp-score-circle{

        width:150px;

        height:150px;

    }

    .gjp-score-inner{

        width:110px;

        height:110px;

    }

    .gjp-review-card{

        padding:25px;

    }

}


@media(max-width:480px){

    .gjp-quiz-info-grid{

        grid-template-columns:1fr;

    }

    .gjp-result-buttons a,

    .gjp-result-buttons button,

    .gjp-review-footer a{

        width:100%;

    }

}