/* PSCC Public Styles - inherits the active theme fonts (no remote fonts). */

.pscc-sessions-list,
.pscc-admission-form-wrapper,
.pscc-payment-page,
.pscc-application-status,
.pscc-dashboard,
.pscc-auth-page {
    font-family: 'Bai Jamjuree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Enrollment Fee payment plan (v1.54.0) */
.pscc-fee-plan {
    margin: 16px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--pscc-input-border);
    border-radius: 6px;
    background: #f9fafb;
}

.pscc-fee-plan h4 {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--pscc-navy);
}

.pscc-plan-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 14px;
    cursor: pointer;
}

.pscc-plan-option input[type="radio"] {
    width: auto;
    margin: 3px 0 0;
    flex: 0 0 auto;
}

.pscc-fee-balance,
.pscc-fee-settled {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.pscc-fee-balance {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.pscc-fee-settled {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* Pre-Registration read-only copies (v1.54.0) */
.pscc-field-locked .pscc-locked-input {
    background: #f4f6f9;
    border-style: dashed;
    color: #334155;
    cursor: default;
}

.pscc-field-locked .pscc-locked-input:focus {
    border-color: var(--pscc-input-border);
    box-shadow: none;
    outline: none;
}

.pscc-field-locked .pscc-locked-note {
    margin: 4px 0 0;
    font-size: 12px;
    font-style: italic;
    color: #6b7280;
}

/* Modern Field Styling */
.pscc-field input[type="text"],
.pscc-field input[type="number"],
.pscc-field input[type="email"],
.pscc-field input[type="tel"],
.pscc-field input[type="date"],
.pscc-field input[type="password"],
.pscc-field select,
.pscc-field textarea,
.pscc-auth-form input[type="text"],
.pscc-auth-form input[type="email"],
.pscc-auth-form input[type="password"],
.pscc-auth-form input[type="tel"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--pscc-input-border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    background: #fff;
}

.pscc-field input:focus,
.pscc-field select:focus,
.pscc-field textarea:focus,
.pscc-auth-form input:focus {
    border-color: var(--pscc-navy);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
    outline: none;
}

.pscc-field input::placeholder,
.pscc-field textarea::placeholder {
    color: var(--pscc-faint);
    opacity: 1;
}

.pscc-sessions-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.pscc-sessions-list h3 {
    color: var(--pscc-navy);
    margin-bottom: 20px;
    font-family: inherit;
}

.pscc-sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.pscc-session-card {
    background: #fff;
    border: 1px solid var(--pscc-border);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pscc-session-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pscc-session-card h4 {
    color: var(--pscc-navy);
    margin: 0 0 16px 0;
    font-size: 18px;
    font-family: inherit;
}

.pscc-session-card p {
    margin: 8px 0;
    color: var(--pscc-slate);
    font-size: 14px;
}

.pscc-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}

.pscc-btn-primary {
    background: var(--pscc-navy);
    color: #fff;
}

.pscc-btn-primary:hover {
    background: var(--pscc-navy-hover);
    color: #fff;
}

.pscc-btn-outline {
    background: #fff;
    color: var(--pscc-navy);
    border: 2px solid var(--pscc-navy);
}

.pscc-btn-outline:hover {
    background: var(--pscc-navy);
    color: #fff;
}

/* Admission Form - Fixed overlapping fields */
.pscc-admission-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.pscc-application-form {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pscc-form-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pscc-border);
}

.pscc-form-section:last-child {
    border-bottom: none;
}

.pscc-section-note {
    background: var(--pscc-info-bg);
    border-left: 4px solid var(--pscc-info-text);
    padding: 10px 14px;
    margin: 0 0 16px;
    font-size: 14px;
}
.pscc-kit-tagline {
    margin: 0 0 12px;
    font-size: 14px;
}
.pscc-section-title {
    color: var(--pscc-navy);
    margin: 0 0 20px 0;
    font-size: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--pscc-amber);
    font-family: inherit;
}

.pscc-form-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pscc-field {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.pscc-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--pscc-ink);
    font-weight: 500;
    font-size: 14px;
    font-family: inherit;
}

.pscc-field .required {
    color: var(--pscc-danger);
}

.pscc-field input[type="text"],
.pscc-field input[type="number"],
.pscc-field input[type="email"],
.pscc-field input[type="tel"],
.pscc-field input[type="date"],
.pscc-field select,
.pscc-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--pscc-border-dark);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background: #fff;
}

.pscc-field input::placeholder,
.pscc-field textarea::placeholder {
    color: var(--pscc-faint);
    opacity: 1;
}

.pscc-field input:focus,
.pscc-field select:focus,
.pscc-field textarea:focus {
    border-color: var(--pscc-navy);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
    outline: none;
}

.pscc-field input[type="file"] {
    padding: 8px;
    border: 1px dashed var(--pscc-border-dark);
    border-radius: 6px;
    width: 100%;
    background: var(--pscc-bg-soft);
    cursor: pointer;
    font-family: inherit;
}

.pscc-field-full {
    grid-column: 1 / -1;
}

.pscc-field-half {
    grid-column: span 1;
}

.pscc-radio-group,
.pscc-checkbox-label {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.pscc-radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    font-family: inherit;
}

.pscc-eligibility-warning {
    background: var(--pscc-warn-bg);
    border: 1px solid var(--pscc-amber);
    color: var(--pscc-warn-text);
    padding: 10px 14px;
    border-radius: 6px;
    margin-top: 8px;
    font-size: 13px;
    font-family: inherit;
}

.pscc-form-submit {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--pscc-border);
}

.pscc-form-submit .pscc-btn {
    padding: 14px 40px;
    font-size: 16px;
}

/* Wizard Styles */
.pscc-wizard {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.pscc-wizard-progress {
    margin-bottom: 32px;
}

.pscc-progress-bar {
    height: 6px;
    background: var(--pscc-border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.pscc-progress-fill {
    height: 100%;
    background: var(--pscc-navy);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.pscc-progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.pscc-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.pscc-progress-step.active {
    opacity: 1;
}

.pscc-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pscc-border);
    color: var(--pscc-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.pscc-progress-step.active .pscc-step-number {
    background: var(--pscc-navy);
    color: white;
}

.pscc-step-label {
    font-size: 12px;
    color: var(--pscc-muted);
    text-align: center;
}

.pscc-progress-step.active .pscc-step-label {
    color: var(--pscc-navy);
    font-weight: 500;
}

.pscc-form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.pscc-form-step.active {
    display: block;
}

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

.pscc-wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--pscc-border);
}

.pscc-review-content {
    background: var(--pscc-bg-soft);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Rounded Buttons */
.pscc-btn,
.button,
.button-primary,
.button-secondary {
    border-radius: 6px;
}

/* Messages */
.pscc-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}
.pscc-message-warning {
    background: var(--pscc-warn-bg);
    border: 1px solid var(--pscc-amber);
    color: var(--pscc-warn-text);
}
.pscc-message-success {
    background: var(--pscc-success-bg);
    border: 1px solid var(--pscc-green);
    color: var(--pscc-success-text);
}

/* Mobile Responsive - Optimized for 90% mobile users */
@media (max-width: 768px) {
    .pscc-form-fields {
        grid-template-columns: 1fr;
    }

    .pscc-session-card {
        padding: 16px;
    }

    .pscc-application-form {
        padding: 16px;
    }

    .pscc-progress-steps {
        flex-wrap: wrap;
        gap: 4px;
    }

    .pscc-step-label {
        font-size: 9px;
    }

    .pscc-step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .pscc-wizard-nav {
        flex-direction: column;
        gap: 8px;
    }

    .pscc-wizard-nav .pscc-btn {
        width: 100%;
        text-align: center;
    }

    .pscc-sessions-grid {
        grid-template-columns: 1fr;
    }

    .pscc-auth-card {
        padding: 20px;
        margin: 20px;
    }

    .pscc-payment-option {
        padding: 16px;
    }

    .pscc-field input,
    .pscc-field select,
    .pscc-field textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Review summary */
.pscc-review-section {
    color: var(--pscc-navy);
    margin: 20px 0 8px;
    font-size: 15px;
}
.pscc-review-section:first-child {
    margin-top: 0;
}
.pscc-review-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid var(--pscc-border);
    border-radius: 6px;
    overflow: hidden;
}
.pscc-review-table th,
.pscc-review-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--pscc-border);
    font-size: 14px;
    vertical-align: top;
}
.pscc-review-table tr:last-child th,
.pscc-review-table tr:last-child td {
    border-bottom: none;
}
.pscc-review-table th {
    width: 35%;
    color: var(--pscc-slate);
    font-weight: 600;
    background: var(--pscc-bg-soft);
}
.pscc-review-empty {
    color: var(--pscc-faint);
}

/* Frontend notices */
.pscc-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}
.pscc-message-error {
    background: var(--pscc-danger-bg);
    color: var(--pscc-danger-text);
}
.pscc-message-success {
    background: var(--pscc-success-bg);
    color: var(--pscc-success-text);
}
.pscc-message-warning {
    background: var(--pscc-warn-bg);
    color: var(--pscc-warn-text);
}
.pscc-error-list {
    margin: 8px 0 0;
    padding-left: 20px;
}
.pscc-error-list li {
    margin-bottom: 4px;
}

/* Clickable progress steps */
.pscc-progress-step {
    cursor: default;
}
.pscc-progress-step.active {
    cursor: pointer;
}
.pscc-progress-step.current .pscc-step-number {
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.25);
}

/* Timeline states */
.pscc-timeline-item.completed::before {
    background: #48bb78;
}
.pscc-timeline-item.current::before {
    background: var(--pscc-blue);
    box-shadow: 0 0 0 4px rgba(49, 130, 206, 0.2);
}
.pscc-timeline-item.rejected::before {
    background: var(--pscc-danger);
}
.pscc-timeline-item.rejected .label {
    color: #c53030;
}
.pscc-timeline-item.waiting::before {
    background: #d69e2e;
}
.pscc-timeline-item.waiting .label {
    color: #975a16;
}
.pscc-muted {
    color: var(--pscc-muted);
}
.pscc-mode-form label {
    display: inline-block;
    margin: 0 18px 10px 0;
    font-weight: 600;
}
.pscc-mode-form .pscc-btn {
    margin-top: 4px;
}
.pscc-field-notice {
    margin-top: 4px;
    font-size: 12px;
    color: #975a16;
    background: #fef3c7;
    border-left: 3px solid #d69e2e;
    padding: 4px 8px;
    border-radius: 0 4px 4px 0;
}

/* Payment page */
.pscc-payment-steps {
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--pscc-ink);
}
.pscc-payment-steps li {
    margin-bottom: 6px;
}
.pscc-challan-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ebf8ff;
    border: 1px dashed var(--pscc-blue);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.pscc-challan-label {
    font-size: 13px;
    font-weight: 600;
    color: #2b6cb0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pscc-challan-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--pscc-navy);
    letter-spacing: 1px;
}
.pscc-bank-note {
    color: #744210;
    font-style: italic;
}

/* ============================================================
   PSCC Frontend Design System - auth, dashboard, status, payment
   (consolidated from inline shortcode styles; single source)
   ============================================================ */

/* Generic card */
.pscc-card {
    background: #fff;
    border: 1px solid var(--pscc-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.pscc-card > h2:first-child,
.pscc-card > h3:first-child {
    margin-top: 0;
    color: var(--pscc-navy);
}

/* Auth pages */
.pscc-auth-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.pscc-auth-card h2 {
    color: var(--pscc-navy);
    margin-top: 0;
    text-align: center;
}
.pscc-auth-footer {
    text-align: center;
    margin-top: 16px;
    color: var(--pscc-slate);
    font-size: 14px;
}
.pscc-auth-footer a {
    color: var(--pscc-navy);
    text-decoration: none;
    font-weight: 500;
}
.pscc-auth-footer a:hover {
    text-decoration: underline;
}

/* Applicant dashboard */
.pscc-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.pscc-dashboard-header h2 {
    color: var(--pscc-navy);
    margin: 0;
}

/* Frontend data tables (dashboard + status + payment) */
.pscc-applications-table,
.pscc-payments-table {
    width: 100%;
    border-collapse: collapse;
}
.pscc-payments-table {
    margin-top: 12px;
}
.pscc-applications-table th,
.pscc-applications-table td,
.pscc-payments-table th,
.pscc-payments-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--pscc-border);
    font-size: 14px;
}
.pscc-applications-table th,
.pscc-payments-table th {
    background: var(--pscc-bg-soft);
    color: var(--pscc-ink);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.pscc-applications-table code,
.pscc-payments-table code {
    background: #f0f0f1;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

/* Status pills (same language as admin) */
.pscc-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.pscc-status-submitted { background: var(--pscc-info-bg); color: var(--pscc-info-text); }
.pscc-status-payment_pending_verification,
.pscc-status-interview_pending,
.pscc-status-pending { background: var(--pscc-warn-bg); color: var(--pscc-warn-text); }
.pscc-status-registration_completed,
.pscc-status-paid,
.pscc-status-selected,
.pscc-status-admission_confirmed { background: var(--pscc-success-bg); color: var(--pscc-success-text); }
.pscc-status-tested,
.pscc-status-scheduled,
.pscc-status-interviewed { background: var(--pscc-info-bg); color: var(--pscc-info-text); }
.pscc-status-rejected,
.pscc-status-payment_rejected,
.pscc-status-did_not_report,
.pscc-status-failed { background: var(--pscc-danger-bg); color: var(--pscc-danger-text); }

/* Detail grids */
.pscc-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.pscc-detail-grid > div {
    background: var(--pscc-bg-soft);
    padding: 12px;
    border-radius: 6px;
}
.pscc-detail-grid label {
    display: block;
    font-size: 12px;
    color: var(--pscc-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* Timeline */
.pscc-timeline {
    position: relative;
    padding-left: 24px;
    margin-top: 16px;
}
.pscc-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--pscc-border);
}
.pscc-timeline-item {
    position: relative;
    padding-bottom: 12px;
}
.pscc-timeline-item:last-child {
    padding-bottom: 0;
}
.pscc-timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--pscc-success-bg);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--pscc-border);
}
.pscc-timeline-item.pending::before {
    background: var(--pscc-border);
}
.pscc-timeline-item .time {
    font-size: 12px;
    color: var(--pscc-muted);
}
.pscc-timeline-item .label {
    font-weight: 500;
    margin-top: 2px;
}

/* Payment page */
.pscc-application-info p {
    margin: 8px 0;
}
.pscc-eligibility-warnings {
    background: var(--pscc-warn-bg);
    padding: 16px;
    border-radius: 6px;
    margin: 16px 0;
}
.pscc-eligibility-warnings h3 {
    margin-top: 0;
}
.pscc-fee-amount {
    text-align: center;
    padding: 24px;
    background: var(--pscc-bg-soft);
    border-radius: 8px;
    margin: 20px 0;
}
.pscc-fee-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--pscc-navy);
}
.pscc-fee-label {
    color: var(--pscc-muted);
    font-size: 14px;
    margin-top: 8px;
}
.pscc-fee-note {
    color: var(--pscc-muted);
    font-size: 13px;
    margin: 6px 0 0;
    font-style: italic;
}
.pscc-payment-option {
    background: #fff;
    border: 1px solid var(--pscc-border);
    padding: 20px;
    margin: 16px 0;
    border-radius: 8px;
}
.pscc-payment-option > h3:first-child {
    margin-top: 0;
    color: var(--pscc-navy);
}
.pscc-bank-details {
    background: var(--pscc-bg-soft);
    padding: 12px 16px;
    border-radius: 6px;
    margin: 12px 0;
}
.pscc-bank-details p {
    margin: 4px 0;
    font-size: 13px;
}
.pscc-receipt-form {
    width: 100%;
    margin: 16px 0;
}
.pscc-receipt-form td {
    padding: 6px;
    vertical-align: middle;
}
.pscc-payment-paid {
    background: var(--pscc-success-bg);
    color: var(--pscc-success-text);
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}
.pscc-payment-pending {
    background: var(--pscc-warn-bg);
    color: var(--pscc-warn-text);
    padding: 12px;
    border-radius: 6px;
    text-align: center;
}

/* Small button variant */
.pscc-btn-small {
    padding: 6px 12px;
    font-size: 13px;
}

@media (max-width: 600px) {
    .pscc-auth-card {
        padding: 24px 20px;
    }
    .pscc-fee-number {
        font-size: 28px;
    }
    .pscc-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Info badge */
.pscc-badge-info {
    background: var(--pscc-info-bg);
    color: var(--pscc-info-text);
}

/* Matched-payment status pill */
.pscc-status-matched {
    background: #e9d8fd;
    color: #553c9a;
}

/* Large inline code (IDs, order numbers) */
.pscc-code-lg {
    font-size: 16px;
    padding: 4px 8px;
    background: #f0f0f1;
    border-radius: 4px;
}

/* Waiting-list + enrollment-fee-pending status pills */
.pscc-status-waiting,
.pscc-status-admission_payment_pending {
    background: var(--pscc-warn-bg);
    color: var(--pscc-warn-text);
}

/* Spacing utilities */
.pscc-mt-20 {
    margin-top: 20px;
}
.pscc-mt-24 {
    margin-top: 24px;
}

/* Muted inline hint */
.pscc-hint {
    color: var(--pscc-muted);
}

.pscc-mb-16 {
    margin-bottom: 16px;
}

/* Centered gateway-redirect panel (standalone page) */
.pscc-redirect-box {
    max-width: 520px;
    margin: 60px auto;
    text-align: center;
}

/* Login-first gate on the admission form. */
.pscc-login-required {
    max-width: 420px;
    margin: 24px auto;
    padding: 24px;
    border: 1px solid var(--pscc-border);
    border-radius: 8px;
    background: #fff;
}
.pscc-login-required .login-username label,
.pscc-login-required .login-password label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}
.pscc-login-required .login-username input,
.pscc-login-required .login-password input {
    width: 100%;
    max-width: 100%;
}

/* Modern file picker: styled like the plugin's buttons. */
.pscc-wizard input[type="file"],
.pscc-payment-page input[type="file"] {
	font-size: 14px;
	color: #475569;
	max-width: 100%;
}
.pscc-wizard input[type="file"]::file-selector-button,
.pscc-wizard input[type="file"]::-webkit-file-upload-button,
.pscc-payment-page input[type="file"]::file-selector-button,
.pscc-payment-page input[type="file"]::-webkit-file-upload-button {
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--pscc-navy);
	background: #eef2f7;
	border: 1px solid var(--pscc-border-soft);
	border-radius: 6px;
	padding: 8px 16px;
	margin-right: 10px;
	cursor: pointer;
}
.pscc-wizard input[type="file"]:hover::file-selector-button,
.pscc-wizard input[type="file"]:hover::-webkit-file-upload-button,
.pscc-payment-page input[type="file"]:hover::file-selector-button,
.pscc-payment-page input[type="file"]:hover::-webkit-file-upload-button {
	background: var(--pscc-border);
	border-color: var(--pscc-slate-light);
}
.pscc-wizard input[type="file"]:focus-visible,
.pscc-payment-page input[type="file"]:focus-visible {
	outline: 2px solid var(--pscc-navy);
	outline-offset: 2px;
	border-radius: 6px;
}

/* v1.29: conditional sections/fields + applicant status meaning. */
.pscc-cond-hidden {
	display: none !important;
}
.pscc-status-meaning {
	background: #ebf4ff;
	border-left: 4px solid var(--pscc-blue);
	border-radius: 4px;
	padding: 12px 16px;
	margin: 16px 0;
}
.pscc-status-meaning p {
	margin: 6px 0;
}
/* v1.35.0: meaning labels are plain bold; the next-step callout keeps its green bar. */
.pscc-meaning-tag {
	font-weight: 700;
	margin-right: 4px;
}
/* v1.35.0: fill-time guidance — staff help text + live format hints. */
.pscc-help {
	color: var(--pscc-slate);
	font-size: 13px;
	margin: 4px 0 0;
}
.pscc-field-hint {
	color: var(--pscc-warn-text);
	font-size: 12px;
	margin-top: 4px;
}
.pscc-field-invalid {
	border-color: var(--pscc-amber) !important;
}
/* v1.35.0: applicant-facing confirm modal (never window.confirm). */
/* v1.37.0: modal styles moved to assets/css/pscc-design.css (one canonical definition). */
.pscc-next-callout {
	margin-top: 20px;
	background: #f0fff4;
	border: 1px solid #9ae6b4;
	border-left: 4px solid var(--pscc-green);
	border-radius: 4px;
	padding: 10px 12px;
}
/* v1.34.0: every code element in the plugin uses the college font. */
.pscc-sessions-list code,
.pscc-admission-form-wrapper code,
.pscc-payment-page code,
.pscc-application-status code,
.pscc-dashboard code,
.pscc-auth-page code {
	font-family: 'Bai Jamjuree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

/* Registration now collects the applicant profile as well as account credentials. */
.pscc-registration-page .pscc-auth-card { max-width: 760px; margin: 0 auto; }
.pscc-registration-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.pscc-registration-form .pscc-field { margin: 0; min-width: 0; }
.pscc-registration-form .pscc-auth-footer,
.pscc-registration-form > button { grid-column: 1 / -1; }
.pscc-registration-form [hidden] { display: none !important; }
.pscc-registration-form select:disabled { background: #edf2f7; color: #4a5568; opacity: 1; }
@media (max-width: 600px) { .pscc-registration-form { grid-template-columns: 1fr; } }

/* Registration category and applicant-role options use matching vertical stacks. */
.pscc-registration-form .pscc-radio-group { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pscc-registration-form .pscc-hint { font-size: 12px; line-height: 1.4; color: #64748b; }

.pscc-status-test_passed, .pscc-status-enrollment_payment_verified { background: #dcfce7; color: #166534; }
.pscc-status-test_failed, .pscc-status-enrollment_payment_attention { background: #fee2e2; color: #991b1b; }

/* v1.62: feedback follows the application form's vertical field design. */
.pscc-feedback-form { display:flex; flex-direction:column; align-items:stretch; gap:14px; }
.pscc-feedback-heading { font:600 18px/1.4 'Bai Jamjuree',sans-serif; color:#1a365d; }
.pscc-feedback-form .pscc-feedback-input { display:block; width:100%; box-sizing:border-box; min-height:150px; padding:14px 16px; border:1px solid #cbd5e1; border-radius:10px; background:#f8fafc; color:#243449; font:400 15px/1.7 'Bai Jamjuree',sans-serif; resize:vertical; transition:border-color .15s,box-shadow .15s; }
.pscc-feedback-form .pscc-feedback-input:focus { outline:0; border-color:#416da2; box-shadow:0 0 0 3px #416da21f; background:white; }
.pscc-feedback-form .pscc-btn { align-self:flex-start; }
