.compact-row {
    display: flex !important;
    justify-content: space-between !important;
}

.management-card .compact-scroll-list {
    max-height: 520px;
    overflow-y: auto;
}

.management-card .compact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.compact-scroll-list {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 6px;
}

.compact-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.compact-row-main h4 {
    margin: 0;
    font-size: 15px;
}

.compact-row-main p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.compact-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.action-dropdown {
    position: relative;
}

.action-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 38px;
    min-width: 150px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    z-index: 50;
    padding: 6px;
}

.action-dropdown.is-open .action-menu {
    display: block;
}

.action-menu a,
.action-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 9px 10px;
    border-radius: 8px;
    text-align: left;
    font-size: 13px;
    color: #111827;
    cursor: pointer;
    text-decoration: none;
}

.action-menu a:hover,
.action-menu button:hover {
    background: #f3f4f6;
}

.action-menu button.danger {
    color: #dc2626;
}

.table-scroll {
    max-height: 320px;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.compact-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
}

.compact-table th {
    text-align: left;
    background: #f9fafb;
    padding: 10px;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
}

.compact-table td {
    padding: 10px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.compact-table tr:hover {
    background: #f9fafb;
}

.compact-table small {
    color: #6b7280;
    font-size: 11px;
}

.text-green { color: #16a34a; font-weight:600; }
.text-yellow { color: #d97706; font-weight:600; }
.text-red { color: #dc2626; font-weight:600; }