#bitlearn-quiz {
    max-width: 720px;
    margin: 0px 10px 50px 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-left: auto;  /* Center horizontally */
    margin-right: auto; /* Center horizontally */
    border-top: 4px solid #d4b06e;
}

/* Mobile devices */
@media (max-width: 768px) {
  #bitlearn-quiz {
    max-width: 95%; /* Make it take full width of the screen */
    
  }
}

#quiz-timer {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #FFEB3B, #FFC107);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background 0.5s ease;
}

.pulse-minute {
    animation: pulse 0.6s ease-in-out;
    background: linear-gradient(90deg, #FF5722, #FF9800);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

#quiz-progress {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #555;
}

#quiz-progress span {
    font-weight: bold;
}

#quiz-progress-bar-container {
    width: 100%;
    background: #e0e0e0;
    height: 14px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 14px;
    margin-bottom: 20px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

#quiz-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    border-radius: 8px;
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: 50px 14px;
    animation: stripes 1s linear infinite;
}

@keyframes stripes {
    0% { background-position: 0 0; }
    100% { background-position: 50px 0; }
}

.question-text {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #222;
}

.question-img {
    max-width: 100%;
    margin-bottom: 15px;
    border-radius: 6px;
}

.options {
    list-style: none;
    padding: 0;
}

.options li {
    margin-bottom: 0;
}

.option-btn {
    width: 100%;
    padding: 12px 20px;
    background: #2196F3;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s;
}

.option-btn:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

.quiz-complete {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 12px 28px;
    background: #FF5722;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.button:hover {
    background: #E64A19;
}


.option-img-btn {
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    width: 100%;
}

.option-img-btn img.option-image {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.option-img-btn img.option-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.selected-option {
    background: #4CAF50 !important;
}

.quiz-nav {
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.nav-btn, .submit-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    transition: background 0.3s;
}

.nav-btn {
    background: linear-gradient(135deg, #cf9938, #b1870a);
}
.nav-btn:hover {
    background: #455A64;
}
.submit-btn {
    background: #FF5722;
}
.submit-btn:hover {
    background: #E64A19;
}



/* ===============================
   FORCE 2-COLUMN OPTION GRID
   =============================== */

#quiz-question-container ul.options {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0;
    margin: 18px 0;
}

#quiz-question-container ul.options > li {
    margin: 0 !important;
}

/* Tablet + Mobile */
@media (max-width: 900px) {
    #quiz-question-container ul.options {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Buttons */
#quiz-question-container .option-btn,
#quiz-question-container .option-img-btn {
    width: 100%;
    min-height: 56px;
    line-height: 1.4;
}



/* ===============================
   QUIZ HEADER BAR
   =============================== */
#bitlearn-quiz-ui {
    position: relative;
    padding-top: 44px;
}

#quiz-timer {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
}

#quiz-progress {
    position: absolute;
    top: 4px;
    right: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #555;
}






/* Details form & progress */
.details-form label {display:block; margin-top:10px; font-weight:600; color:#333;}
.details-form input {width:100%; padding:10px; margin-top:6px; border-radius:6px; border:1px solid #ddd;}

#li_progress_wrap {padding:20px; text-align:center;}
#li_progress_bar_container {width:80%; height:20px; background:#eee; margin:16px auto; border-radius:10px; overflow:hidden;}
#li_progress_bar {width:0%; height:100%; background:linear-gradient(90deg,#4caf50,#8bc34a); transition:width 0.6s;}
#li_progress_percent {margin-top:8px; font-weight:700;}
.final-result p{margin:12px 0;}

/* Results & Report UI styles */
.bitlearn-results { max-width:760px; margin:18px auto; background:#fff; padding:18px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,0.06); }
.bitlearn-results h2 { font-size:22px; color:#0b2f6b; margin-bottom:8px; }
.bitlearn-results p { color:#333; font-size:15px; margin:8px 0; }
.bitlearn-results .button { background: linear-gradient(90deg,#b07a00,#e0a12a); box-shadow:0 4px 12px rgba(176,122,0,0.22); color:#fff; padding:12px 20px; border-radius:10px; text-decoration:none; display:inline-block; }

/* Footer style (site) */
.bitlearn-footer { font-size:13px; color:#666; text-align:center; padding:12px 0; border-top:1px solid #eee; margin-top:18px; }

/* Make form fields look consistent */
.details-form label { display:block; margin-top:10px; font-weight:700; color:#333; }
.details-form input { width:100%; padding:10px; margin-top:6px; border-radius:8px; border:1px solid #ddd; box-sizing:border-box; }

.page-id-898 {
  background: radial-gradient(circle at center, #0a295f 60%, #061b3b 100%);
  background-attachment: fixed;
  background-size: cover;

  min-height: 100vh;
}


.error-msg {
  color: #b10000;
  font-size: 12px;
  margin-top: 2px;
  margin-bottom: 8px;
  font-style: italic;
}

input.error {
  border-color: #c00000 !important;
  box-shadow: 0 0 5px rgba(190,0,0,0.4);
}


/* --- Strongest Section Premium Card --- */
.li-results-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.li-results-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b49;
    margin-bottom: 18px;
}

.li-strongest-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.li-strongest-badge {
    background: linear-gradient(135deg, #0a295f 0%, #174a9b 100%);
    color: #fff;
    border-radius: 12px;
    padding: 20px 32px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(10,50,120,0.3);
    margin-bottom: 15px;
    animation: popIn 0.5s ease-out;
}

.li-strongest-label {
    font-size: 14px;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.li-strongest-value {
    font-size: 22px;
    font-weight: 800;
    margin-top: 6px;
}

.li-strongest-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    max-width: 500px;
}

/* Animations */
@keyframes popIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

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


/* Hide main site header on test page */
.page-id-898 header,
.page-id-898 .site-header,
.page-id-898 #masthead {
    display: none !important;
}

/* Reduce top spacing caused by header removal */
.page-id-898 body,
.page-id-898 .site-content,
.page-id-898 .content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


