.commissions-page {
    color: #1f2937;
}

.commissions-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 12px;
}

.commissions-breadcrumb strong {
    color: #1f2937;
    font-weight: 600;
}

.commissions-header-card,
.commissions-filter-card,
.commissions-table-card,
.commissions-stat-card,
.commissions-actions-row,
.commissions-alert {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.commissions-header-card {
    padding: 18px 20px;
    margin-bottom: 14px;
}

.commissions-header-card h2 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.42rem;
}

.commissions-header-card p {
    margin: 8px 0 0;
    color: #6b7280;
}

.commissions-alert {
    margin-bottom: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.commissions-alert.is-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.commissions-alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.commissions-filter-card {
    padding: 14px;
    margin-bottom: 14px;
    background: #eef4ff;
}

.commissions-filter-form {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
}

.commissions-filter-group {
    display: grid;
    gap: 6px;
}

.commissions-filter-group label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
}

.commissions-filter-group input,
.commissions-filter-group select {
    min-height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0 12px;
    background: #ffffff;
    font-family: "Poppins", sans-serif;
    color: #1f2937;
}

.commissions-filter-actions {
    grid-column: span 5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.commissions-btn-primary,
.commissions-btn-secondary {
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 0 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.commissions-btn-primary {
    background: #6c8cf5;
    color: #ffffff;
    cursor: pointer;
}

.commissions-btn-primary:hover {
    background: #5a79e6;
}

.commissions-btn-secondary {
    background: #ffffff;
    border-color: #d1d5db;
    color: #1f2937;
}

.commissions-btn-secondary:hover {
    background: #f8fafc;
}

.commissions-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.commissions-stat-card {
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.commissions-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef4ff;
    color: #6c8cf5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.commissions-stat-card p {
    margin: 0;
    color: #6b7280;
    font-size: 0.84rem;
}

.commissions-stat-card h3 {
    margin: 4px 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.02rem;
}

.commissions-stat-card small {
    color: #6b7280;
    font-size: 0.75rem;
}

.commissions-actions-row {
    margin-bottom: 14px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.commissions-mini-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #1f2937;
    border: 1px solid #dbe1eb;
    border-radius: 10px;
    padding: 8px 10px;
    background: #f8fafc;
    font-weight: 600;
    font-size: 0.86rem;
}

.commissions-mini-link:hover {
    border-color: #a8c5ff;
    background: #eef4ff;
    color: #2c4ab8;
}

.commissions-table-card {
    padding: 14px;
}

.commissions-table-head h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
}

.commissions-table-head p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 0.86rem;
}

.commissions-table-wrap {
    overflow-x: auto;
    margin-top: 12px;
}

.commissions-table {
    width: 100%;
    min-width: 1300px;
    border-collapse: collapse;
}

.commissions-table th {
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 11px;
    white-space: nowrap;
}

.commissions-table td {
    border-bottom: 1px solid #eef2f7;
    padding: 11px;
    font-size: 0.9rem;
}

.commissions-table tbody tr:nth-child(even) td {
    background: #fcfdff;
}

.commissions-table tbody tr:hover td {
    background: #f4f8ff;
}

.commissions-table td.is-code {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.commissions-table td.is-commission {
    font-weight: 700;
    color: #2c4ab8;
}

.commissions-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.74rem;
    font-weight: 600;
}

.commissions-status-badge.is-success {
    background: #dcfce7;
    color: #166534;
}

.commissions-status-badge.is-info {
    background: #dbeafe;
    color: #1d4ed8;
}

.commissions-status-badge.is-warning {
    background: #fff7ed;
    color: #9a3412;
}

.commissions-status-badge.is-danger {
    background: #fee2e2;
    color: #991b1b;
}

.commissions-status-badge.is-muted {
    background: #f3f4f6;
    color: #4b5563;
}

.commissions-action-btn {
    border: 1px solid #dbe1eb;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2937;
    text-decoration: none;
    padding: 7px 9px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.commissions-action-btn:hover {
    background: #eef4ff;
    border-color: #a8c5ff;
    color: #2c4ab8;
}

.commissions-action-btn.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.commissions-pagination-wrap {
    margin-top: 14px;
}

.commissions-empty-state {
    text-align: center;
    padding: 36px 20px;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    margin-top: 12px;
}

.commissions-empty-state i {
    font-size: 1.3rem;
    color: #9ca3af;
    display: block;
    margin-bottom: 8px;
}

.commissions-empty-state h4 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
}

.commissions-empty-state p {
    margin: 7px 0 0;
    color: #6b7280;
}
