/* --- PharmaQuiz Pro Main Styles --- */
#pqp-quiz-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    border: 1px solid #ccd0d4;
    padding: 25px;
    max-width: 720px;
    margin: 20px auto;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.pqp-form-group {
    margin-bottom: 16px;
}
.pqp-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2c3338;
}
.pqp-form-group input[type="text"],
.pqp-form-group input[type="tel"],
.pqp-form-group select {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 16px;
}

.pqp-button {
    background-color: #2271b1;
    color: white;
    padding: 10px 20px;
    border: 1px solid #2271b1;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}
.pqp-button:hover {
    background-color: #1e659f;
}
.pqp-button:disabled {
    background-color: #a7aaad;
    border-color: #a7aaad;
    cursor: not-allowed;
}

.pqp-error {
    color: #d63638;
    background-color: #fbeaea;
    border: 1px solid #d63638;
    padding: 10px;
    margin-top: 15px;
    border-radius: 3px;
    display: none; /* Hidden by default */
}

/* College Header */
.pqp-college-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}
.pqp-college-logo {
    max-height: 80px;
    width: auto;
    margin-bottom: 10px;
}

/* Quiz Interface */
.pqp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
#pqp-quiz-title {
    margin: 0;
}
#pqp-timer {
    font-size: 1.2em;
    font-weight: bold;
    color: #d54e21;
    background: #f0f0f1;
    padding: 5px 10px;
    border-radius: 4px;
}

#pqp-question-area h4 {
    margin-top: 0;
    font-size: 1.3em;
    color: #1d2327;
}

.pqp-option {
    margin-bottom: 12px;
    background: #f6f7f7;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.pqp-option:hover {
    background-color: #e8e9ea;
}
.pqp-option input[type="radio"] {
    margin-right: 12px;
}

#pqp-navigation {
    margin-top: 20px;
    text-align: right;
}

#pqp-progress-bar-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-top: 20px;
    height: 10px;
}
#pqp-progress-bar {
    width: 0%;
    height: 10px;
    background-color: #00a32a;
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* Leaderboard & Results */
#pqp-results-screen, #pqp-leaderboard {
    margin-top: 30px;
    border-top: 2px solid #2271b1;
    padding-top: 20px;
}
.pqp-leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.pqp-leaderboard-table th, .pqp-leaderboard-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
.pqp-leaderboard-table th {
    background-color: #f0f0f1;
}
#pqp-final-score {
    color: #0073aa;
    font-weight: bold;
}