/* Portal content pages (Drawings / Team / Inventory / Billing). Prefixed to avoid clashes. */
.portal-page {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.portal-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #000000;
}

.portal-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.portal-subtitle {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    color: #000000;
}

.portal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-search {
    width: 280px;
    height: 40px;
    box-sizing: border-box;
    padding: 8px 16px;
    border: 1px solid #d1d1db;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: #121217;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.portal-btn-outline {
    background: #ffffff;
    border: 1px solid #d1d1db;
    color: #121217;
}

.portal-btn-dark {
    background: #1f1f1f;
    color: #ffffff;
}

.portal-empty {
    padding: 32px 0;
    color: #6c6c89;
    font-size: 14px;
}

/* Drawings list table */
.dw-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.dw-table thead th {
    text-align: left;
    font-weight: 700;
    color: #121217;
    padding: 10px 12px;
    border-bottom: 1px solid #d8d8de;
}

/* Sortable column headers */
.dw-table thead th.dw-sort {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.dw-row {
    cursor: pointer;
}

.dw-row td {
    padding: 14px 12px;
    color: #4a4a55;
    border-bottom: 1px solid #ededf0;
}

.dw-row:hover {
    background: #f6f6f8;
}

.dw-name {
    font-weight: 600;
    color: #121217;
}

.dw-actions-col {
    width: 48px;
}

.dw-actions {
    text-align: right;
    width: 48px;
}
