/* Manage Roles Page - Additional Styles */

/* View Role Modal Styles */
.view-role-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eff2f7;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.detail-row span {
    color: #6c757d;
    font-size: 14px;
}

.apis-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
}

.api-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.api-code {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #556ee6;
    font-size: 13px;
    min-width: 120px;
}

.api-name {
    color: #495057;
    font-size: 14px;
}

/* Action buttons - ensure view button is styled */
.action-buttons .btn-action.view {
    background-color: #17a2b8;
    color: white;
}

.action-buttons .btn-action.view:hover {
    background-color: #138496;
}

/* Status badge styles */
.status-badge.active {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.inactive {
    background-color: #f8d7da;
    color: #721c24;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge i {
    font-size: 8px;
}

