.type-table {
    width: 100%;
    border-collapse: collapse;
}

.type-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: var(--font-size-small);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.type-table td {
    padding: 14px 16px;
    font-size: var(--font-size-base);
    color: var(--color-text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    white-space: nowrap;
}

.type-table-motor-codes {
    white-space: normal;
}

.type-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.03);
}

.type-table td:first-child a {
    color: var(--color-text);
    font-weight: 600;
}

.type-table td:first-child a:hover {
    color: var(--color-accent);
}

.type-info-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='16' x2='12' y2='12'/><line x1='12' y1='8' x2='12.01' y2='8'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='16' x2='12' y2='12'/><line x1='12' y1='8' x2='12.01' y2='8'/></svg>") no-repeat center / contain;
}

.type-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.type-info-button:hover .type-info-icon {
    background-color: var(--color-accent);
}

/* ---------- type details modal ---------- */

.type-details {
    width: 480px;
    max-width: 90vw;
}

.type-details-title {
    margin: 0 0 20px;
    font-size: var(--font-size-large);
    color: var(--color-text);
}

.type-details-status {
    padding: 20px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--font-size-base);
}

.type-details-table {
    width: 100%;
    border-collapse: collapse;
}

.type-details-table td {
    padding: 10px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: var(--font-size-base);
    color: var(--color-text);
}

.type-details-table td:first-child {
    color: var(--color-text-muted);
}

.type-details-table td:last-child {
    text-align: right;
    font-weight: 600;
}
