@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #e0e7ff;
    --secondary: #0ea5e9;
    --secondary-hover: #0284c7;
    --secondary-light: #e0f2fe;
    --bg-app: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* Status Colors */
    --success: #10b981;
    --success-hover: #059669;
    --success-light: #ecfdf5;
    --danger: #ef4444;
    --danger-hover: #dc2626;
    --danger-light: #fef2f2;
    --warning: #f59e0b;
    --warning-hover: #d97706;
    --warning-light: #fef3c7;
    --info: #3b82f6;
    --info-hover: #2563eb;
    --info-light: #eff6ff;
}

body.assessment-theme {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-app);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-image: 
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
}

.portal-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
}

.portal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 540px;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.portal-logo-container {
    text-align: center;
    margin-bottom: 32px;
}

.portal-logo {
    max-height: 60px;
    width: auto;
}

.portal-header {
    text-align: center;
    margin-bottom: 32px;
}

.portal-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 8px 0;
    letter-spacing: -0.025em;
}

.portal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    background-color: var(--bg-app);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.btn-premium {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    box-sizing: border-box;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.btn-premium:active {
    transform: translateY(0);
}

.gender-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gender-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-app);
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.gender-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.gender-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.gender-card .icon {
    font-size: 1.8rem;
}

/* Distraction-Free Test Area */
.test-layout {
    max-width: 840px;
    margin: 40px auto;
    padding: 0 24px 80px 24px;
}

.test-progress-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 700;
}

.progress-bar-bg {
    background: var(--border);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    margin-bottom: 24px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.question-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0 0 32px 0;
}

/* Answer Choices */
.choices-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.choice-item {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-card);
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.choice-item:hover {
    border-color: var(--primary);
    background-color: var(--bg-app);
}

.choice-item.active {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary);
}

.choice-bullet {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: #fff;
    flex-shrink: 0;
}

.choice-item.active .choice-bullet {
    border-color: var(--primary);
    background: var(--primary);
}

.choice-item.active .choice-bullet::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

/* yes-no choices */
.yes-no-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.yes-no-card {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    font-size: 1.2rem;
    background: var(--bg-card);
}

.yes-no-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.yes-no-card.active-yes {
    border-color: #10b981;
    background: #ecfdf5;
    color: #065f46;
}

.yes-no-card.active-no {
    border-color: #ef4444;
    background: #fef2f2;
    color: #991b1b;
}

/* scale choices */
.scale-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.scale-btn {
    flex: 1;
    min-width: 50px;
    aspect-ratio: 1;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    background: var(--bg-card);
}

.scale-btn:hover {
    border-color: var(--primary);
    background: var(--bg-app);
    transform: scale(1.1);
}

.scale-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* Navigation area */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-main);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-nav:hover:not(:disabled) {
    border-color: var(--text-muted);
    background: var(--bg-app);
}

.btn-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-nav.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-nav.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Transition countdown loader screen */
.transition-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px;
    text-align: center;
    box-sizing: border-box;
}

.timer-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-circle-svg {
    transform: rotate(-90deg);
    width: 120px;
    height: 120px;
}

.timer-circle-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 6;
}

.timer-circle-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 339;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.1s linear;
}

.timer-number {
    position: absolute;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.transition-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 12px 0;
}

.transition-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
}

.info-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--secondary-light);
    color: var(--secondary-hover);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ==========================================================================
   Admin Interface Styling (Consistent with Assessment Portal)
   ========================================================================== */
body.assessment-theme .header {
    background: linear-gradient(135deg, #1e1b4b, #4f46e5);
    color: #ffffff;
    padding: 32px 24px;
    border-bottom: 4px solid var(--secondary);
    box-shadow: var(--shadow-md);
    text-align: center;
}

body.assessment-theme .header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    letter-spacing: -0.025em;
    color: #ffffff;
}

body.assessment-theme .header h2 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

body.assessment-theme .header h2 small {
    font-size: 0.95rem;
    opacity: 0.9;
    color: #cbd5e1;
}

body.assessment-theme .container {
    max-width: 1040px;
    margin: 40px auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    box-sizing: border-box;
}

body.assessment-theme .card {
    background: var(--bg-app);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    box-sizing: border-box;
    transition: var(--transition);
    text-align: center;
}

body.assessment-theme .card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

body.assessment-theme .card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 10px 0;
}

body.assessment-theme .card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 16px 0;
}

body.assessment-theme .card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 16px 0;
    line-height: 1.6;
}

body.assessment-theme .action-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

body.assessment-theme .action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.3);
    background: var(--primary-hover);
}

body.assessment-theme table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

body.assessment-theme th {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
    font-weight: 700;
    text-align: left;
    padding: 14px 18px;
    border-bottom: 2px solid var(--border);
    font-size: 0.95rem;
}

body.assessment-theme td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
    font-size: 0.95rem;
    background: #ffffff;
}

body.assessment-theme tr:last-child td {
    border-bottom: none;
}

body.assessment-theme tr:hover td {
    background-color: var(--bg-app);
}

body.assessment-theme input[type="date"],
body.assessment-theme input[type="text"],
body.assessment-theme input[type="number"],
body.assessment-theme select,
body.assessment-theme textarea {
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-main);
    background-color: var(--bg-app);
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
}

body.assessment-theme input:focus,
body.assessment-theme select:focus,
body.assessment-theme textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

body.assessment-theme form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
    text-align: left;
}

/* Badges & Status Indicators */
body.assessment-theme .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    text-decoration: none !important;
}
body.assessment-theme .badge-success {
    background-color: var(--success-light);
    color: var(--success-hover);
}
body.assessment-theme .badge-danger {
    background-color: var(--danger-light);
    color: var(--danger-hover);
}
body.assessment-theme .badge-warning {
    background-color: var(--warning-light);
    color: var(--warning-hover);
}
body.assessment-theme .badge-info {
    background-color: var(--info-light);
    color: var(--info-hover);
}

/* Premium Buttons for status/actions */
body.assessment-theme .btn-premium-success {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--success), var(--success-hover));
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
body.assessment-theme .btn-premium-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

body.assessment-theme .btn-premium-danger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--danger), var(--danger-hover));
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
body.assessment-theme .btn-premium-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.3);
}

body.assessment-theme .btn-premium-warning {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--warning), var(--warning-hover));
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
body.assessment-theme .btn-premium-warning:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.3);
}

/* Flex utilities for layouts */
body.assessment-theme .form-flex-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 24px;
}
body.assessment-theme .form-flex-row > * {
    margin-bottom: 0 !important;
    flex: 1;
}
body.assessment-theme .form-flex-row > button, 
body.assessment-theme .form-flex-row > input[type="submit"],
body.assessment-theme .form-flex-row > .action-btn {
    flex: 0 0 auto;
    height: 48px;
    box-sizing: border-box;
}

body.assessment-theme .event-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
body.assessment-theme .event-list-item:last-child {
    border-bottom: none;
}
body.assessment-theme .event-list-item:hover {
    background-color: var(--bg-app);
}

body.assessment-theme hr {
    border: 0;
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

/* Dot status indicator */
body.assessment-theme .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}
body.assessment-theme .status-dot.active {
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
}
body.assessment-theme .status-dot.inactive {
    background-color: var(--danger);
    box-shadow: 0 0 8px var(--danger);
}

/* ══════════════════════════════════════════════════════════════════
   SweetAlert2 — HSL Theme Overrides
   Applied via Swal.mixin({ customClass: { popup: 'swal-themed-popup', ... } })
   ══════════════════════════════════════════════════════════════════ */
body.assessment-theme .swal-themed-popup {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    border-radius: var(--radius-lg) !important;
    padding: 32px 28px !important;
    box-shadow: var(--shadow-xl) !important;
    background: var(--bg-card) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--border) !important;
}

body.assessment-theme .swal-themed-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
}

body.assessment-theme .swal-themed-body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.95rem !important;
    color: var(--text-muted) !important;
    line-height: 1.6 !important;
}

/* Icon ring colors */
body.assessment-theme .swal-themed-icon.swal2-success {
    border-color: var(--success) !important;
    color: var(--success) !important;
}
body.assessment-theme .swal-themed-icon.swal2-success [class^='swal2-success-line'] {
    background-color: var(--success) !important;
}
body.assessment-theme .swal-themed-icon.swal2-success .swal2-success-ring {
    border-color: var(--success-light) !important;
}
body.assessment-theme .swal-themed-icon.swal2-error {
    border-color: var(--danger) !important;
    color: var(--danger) !important;
}
body.assessment-theme .swal-themed-icon.swal2-error [class^='swal2-x-mark-line'] {
    background-color: var(--danger) !important;
}
body.assessment-theme .swal-themed-icon.swal2-warning {
    border-color: var(--warning) !important;
    color: var(--warning) !important;
}
body.assessment-theme .swal-themed-icon.swal2-info {
    border-color: var(--info) !important;
    color: var(--info) !important;
}
body.assessment-theme .swal-themed-icon.swal2-question {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

/* Confirm button */
body.assessment-theme .swal-themed-confirm {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
    transition: var(--transition);
    margin: 0 6px;
}
body.assessment-theme .swal-themed-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.35);
}

/* Cancel button */
body.assessment-theme .swal-themed-cancel {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    background: var(--bg-app);
    color: var(--text-muted) !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    margin: 0 6px;
}
body.assessment-theme .swal-themed-cancel:hover {
    background: var(--border);
    color: var(--text-main) !important;
}

/* Deny button (danger variant) */
body.assessment-theme .swal-themed-deny {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--danger), var(--danger-hover));
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
    transition: var(--transition);
    margin: 0 6px;
}
body.assessment-theme .swal-themed-deny:hover {
    transform: translateY(-1px);
}

/* Animations */
@keyframes swalFadeIn  { from { opacity: 0; transform: scale(0.95) translateY(-8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes swalFadeOut { from { opacity: 1; transform: scale(1) translateY(0); } to { opacity: 0; transform: scale(0.95) translateY(-8px); } }
body.assessment-theme .swal-animate-in  { animation: swalFadeIn  0.25s cubic-bezier(0.4, 0, 0.2, 1) both; }
body.assessment-theme .swal-animate-out { animation: swalFadeOut 0.18s cubic-bezier(0.4, 0, 0.2, 1) both; }

/* ══════════════════════════════════════════════════════════════════
   Normalize .action-btn — keep consistent with btn-premium height
   ══════════════════════════════════════════════════════════════════ */
body.assessment-theme .action-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #ffffff !important;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
    transition: var(--transition);
    height: auto;
    min-height: 44px;
    box-sizing: border-box;
    line-height: 1.2;
}
body.assessment-theme .action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.3);
}

/* ══════════════════════════════════════════════════════════════════
   Admin table — modern clean styles
   ══════════════════════════════════════════════════════════════════ */
body.assessment-theme table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
body.assessment-theme table thead th {
    background: var(--bg-app);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid var(--border);
}
body.assessment-theme table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
body.assessment-theme table tbody tr:last-child {
    border-bottom: none;
}
body.assessment-theme table tbody tr:hover {
    background-color: var(--bg-app);
}
body.assessment-theme table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    color: var(--text-main);
}

