/* Interview Kit modal. Filament's compiled CSS only ships the utility
   classes its own components use, so this view gets its own small
   stylesheet (same approach as candidate-cards.css). */
.ik-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ik-card {
    border: 1px solid rgb(229 231 235);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    background-color: rgb(255 255 255);
}

.ik-question {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.ik-question p {
    margin: 0;
    font-weight: 600;
    line-height: 1.5rem;
    color: rgb(17 24 39);
}

.ik-number {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(255 255 255);
    background-color: rgb(99 102 241);
}

.ik-rubric {
    margin: 0.875rem 0 0 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.ik-level {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border-left: 3px solid;
    font-size: 0.8125rem;
    line-height: 1.25rem;
}

.ik-level dt {
    flex-shrink: 0;
    width: 2rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ik-level dd {
    margin: 0;
    color: rgb(55 65 81);
}

.ik-level-low  { border-color: rgb(239 68 68);  background-color: rgb(254 242 242); }
.ik-level-low dt  { color: rgb(185 28 28); }
.ik-level-mid  { border-color: rgb(245 158 11); background-color: rgb(255 251 235); }
.ik-level-mid dt  { color: rgb(180 83 9); }
.ik-level-high { border-color: rgb(16 185 129); background-color: rgb(236 253 245); }
.ik-level-high dt { color: rgb(4 120 87); }

.ik-rubric-text {
    margin: 0.75rem 0 0 2.25rem;
    font-size: 0.8125rem;
    line-height: 1.25rem;
    color: rgb(75 85 99);
}

.ik-rubric-text span {
    display: block;
    margin-bottom: 0.125rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgb(107 114 128);
}

.ik-rubric-text p,
.ik-empty {
    margin: 0;
}

.ik-empty {
    font-size: 0.875rem;
    color: rgb(107 114 128);
}

/* Dark mode */
:root[data-theme='dark'] .ik-card,
.dark .ik-card {
    border-color: rgb(55 65 81);
    background-color: rgb(255 255 255 / 0.03);
}

:root[data-theme='dark'] .ik-question p,
.dark .ik-question p {
    color: rgb(243 244 246);
}

:root[data-theme='dark'] .ik-level dd,
.dark .ik-level dd,
:root[data-theme='dark'] .ik-rubric-text,
.dark .ik-rubric-text {
    color: rgb(209 213 219);
}

.dark .ik-level-low  { background-color: rgb(239 68 68 / 0.1); }
.dark .ik-level-low dt  { color: rgb(252 165 165); }
.dark .ik-level-mid  { background-color: rgb(245 158 11 / 0.1); }
.dark .ik-level-mid dt  { color: rgb(252 211 77); }
.dark .ik-level-high { background-color: rgb(16 185 129 / 0.1); }
.dark .ik-level-high dt { color: rgb(110 231 183); }
