/* Tutor LMS Pro Suite — Practice Mode Styles */

.tlps-practice-btn-wrap {
    margin: 20px 0;
    text-align: center;
}

.tlps-practice-start-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 4px 12px rgba(245,158,11,.3);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.tlps-practice-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245,158,11,.4);
}

/* Practice modal overlay */
.tlps-practice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.tlps-practice-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.tlps-pm-header {
    background: linear-gradient(135deg, #F59E0B, #059669);
    border-radius: 20px 20px 0 0;
    padding: 20px 24px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tlps-pm-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.tlps-pm-close {
    background: rgba(255,255,255,.25);
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.tlps-pm-body { padding: 24px; }

/* Progress */
.tlps-pm-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tlps-pm-prog-label {
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
}

.tlps-pm-prog-track {
    flex: 1;
    height: 6px;
    background: #E5E7EB;
    border-radius: 20px;
    margin: 0 12px;
    overflow: hidden;
}

.tlps-pm-prog-fill {
    height: 100%;
    background: linear-gradient(90deg, #F59E0B, #059669);
    border-radius: 20px;
    transition: width .4s ease;
}

/* Question */
.tlps-pm-question-title {
    font-size: 16px;
    font-weight: 600;
    color: #1B4332;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Options */
.tlps-pm-options { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }

.tlps-pm-option {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid #C3E8D8;
    border-radius: 10px;
    background: #F4FBF8;
    padding: 12px 16px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    font-size: 14px;
    color: #1B4332;
}

.tlps-pm-option:hover { border-color: #059669; background: #EDFAF4; }

.tlps-pm-opt-letter {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #059669;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Feedback states */
.tlps-pm-option.correct {
    border-color: #059669;
    background: #ECFDF5;
}

.tlps-pm-option.wrong {
    border-color: #EF4444;
    background: #FEF2F2;
}

.tlps-pm-option.correct .tlps-pm-opt-letter { background: #059669; }
.tlps-pm-option.wrong   .tlps-pm-opt-letter { background: #EF4444; }

/* Explanation box */
.tlps-pm-explanation {
    background: #FEF9C3;
    border: 1.5px solid #FCD34D;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    color: #78350F;
    margin-bottom: 20px;
    display: none;
}

.tlps-pm-explanation strong { display: block; margin-bottom: 4px; color: #92400E; }

/* Result summary */
.tlps-pm-result {
    text-align: center;
    padding: 20px 0;
}

.tlps-pm-result-score {
    font-size: 48px;
    font-weight: 800;
    color: #059669;
    line-height: 1;
}

.tlps-pm-result-label {
    font-size: 16px;
    color: #6B7280;
    margin-top: 8px;
}

/* Next / Finish button */
.tlps-pm-next-btn {
    width: 100%;
    background: linear-gradient(135deg, #059669, #0891B2);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.tlps-pm-next-btn:hover { opacity: .9; }
.tlps-pm-next-btn:disabled { opacity: .5; cursor: not-allowed; }
